• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
1

please support xxhdpi and xxxhdpi in android:screenDensity

Community Beginner ,
Jan 26, 2015 Jan 26, 2015

Copy link to clipboard

Copied

Hi, could you update the Android xml descriptor to support xxhdpi and xxxhdpi in the compatible-screens android:screenDensity please. as documented here : Supporting Multiple Screens | Android Developers

exemple :

<compatible-screens>

  <!-- all small size screens  2"-3" -->

  <!--<screen android:screenSize="small" android:screenDensity="ldpi" />

  <screen android:screenSize="small" android:screenDensity="mdpi" />-->

  <screen android:screenSize="small" android:screenDensity="hdpi" />

  <screen android:screenSize="small" android:screenDensity="xhdpi" />

  <screen android:screenSize="small" android:screenDensity="xxhdpi" />

  <screen android:screenSize="small" android:screenDensity="xxxhdpi" />

  <!-- all normal size screens 3"-5" -->

  <!--<screen android:screenSize="normal" android:screenDensity="ldpi" />-->

  <screen android:screenSize="normal" android:screenDensity="mdpi" />

  <screen android:screenSize="normal" android:screenDensity="hdpi" />

  <screen android:screenSize="normal" android:screenDensity="xhdpi" />

  <screen android:screenSize="normal" android:screenDensity="xxhdpi" />

  <screen android:screenSize="normal" android:screenDensity="xxxhdpi" />

  <!-- all large size screens 4"-7" -->

  <!--<screen android:screenSize="large" android:screenDensity="ldpi" />-->

  <screen android:screenSize="large" android:screenDensity="mdpi" />

  <screen android:screenSize="large" android:screenDensity="hdpi" />

  <screen android:screenSize="large" android:screenDensity="xhdpi" />

  <screen android:screenSize="large" android:screenDensity="xxhdpi" />

  <screen android:screenSize="large" android:screenDensity="xxxhdpi" />

  <!-- all xlarge size screens 7"+ -->

  <!--<screen android:screenSize="xlarge" android:screenDensity="ldpi" />-->

  <screen android:screenSize="xlarge" android:screenDensity="mdpi" />

  <screen android:screenSize="xlarge" android:screenDensity="hdpi" />

  <screen android:screenSize="xlarge" android:screenDensity="xhdpi" />

  <screen android:screenSize="xlarge" android:screenDensity="xxhdpi" />

  <screen android:screenSize="xlarge" android:screenDensity="xxxhdpi" />

</compatible-screens>

this give me the following error :

Error occurred while packaging the application:

aapt tool failed:Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

C:\Users\COPYQU~1\AppData\Local\Temp\2e2bf7c2-2ea9-4b47-bdf5-ddef3e77d39f\AndroidManifest.xml:132: error: Error: String types not allowed (at 'screenDensity' with value 'xxhdpi').

C:\Users\COPYQU~1\AppData\Local\Temp\2e2bf7c2-2ea9-4b47-bdf5-ddef3e77d39f\AndroidManifest.xml:136: error: Error: String types not allowed (at 'screenDensity' with value 'xxxhdpi').

C:\Users\COPYQU~1\AppData\Local\Temp\2e2bf7c2-2ea9-4b47-bdf5-ddef3e77d39f\AndroidManifest.xml:148: error: Error: String types not allowed (at 'screenDensity' with value 'xxhdpi').

C:\Users\COPYQU~1\AppData\Local\Temp\2e2bf7c2-2ea9-4b47-bdf5-ddef3e77d39f\AndroidManifest.xml:152: error: Error: String types not allowed (at 'screenDensity' with value 'xxxhdpi').

C:\Users\COPYQU~1\AppData\Local\Temp\2e2bf7c2-2ea9-4b47-bdf5-ddef3e77d39f\AndroidManifest.xml:168: error: Error: String types not allowed (at 'screenDensity' with value 'xxhdpi').

C:\Users\COPYQU~1\AppData\Local\Temp\2e2bf7c2-2ea9-4b47-bdf5-ddef3e77d39f\AndroidManifest.xml:172: error: Error: String types not allowed (at 'screenDensity' with value 'xxxhdpi').

C:\Users\COPYQU~1\AppData\Local\Temp\2e2bf7c2-2ea9-4b47-bdf5-ddef3e77d39f\AndroidManifest.xml:188: error: Error: String types not allowed (at 'screenDensity' with value 'xxhdpi').

C:\Users\COPYQU~1\AppData\Local\Temp\2e2bf7c2-2ea9-4b47-bdf5-ddef3e77d39f\AndroidManifest.xml:192: error: Error: String types not allowed (at 'screenDensity' with value 'xxxhdpi').

TOPICS
Air beta

Views

5.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Apr 01, 2015 Apr 01, 2015

You can add support by configuring 480 instead of xxhdpi like this:

<screen android:screenSize="small/large/xlarge...." android:screenDensity="480" />

I would assume that xxxhdpi woks the same by configuring with 640 instead.

Votes

Translate

Translate
New Here ,
Mar 12, 2015 Mar 12, 2015

Copy link to clipboard

Copied

Hello,

Anyone have information about this problem ? I have warning about hight resolution for tablet when I publish my application on Android Store ?

Thanks for you help.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 01, 2015 Apr 01, 2015

Copy link to clipboard

Copied

You can add support by configuring 480 instead of xxhdpi like this:

<screen android:screenSize="small/large/xlarge...." android:screenDensity="480" />

I would assume that xxxhdpi woks the same by configuring with 640 instead.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 02, 2015 Apr 02, 2015

Copy link to clipboard

Copied

LATEST

thanks i'll try it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines