Highlighted

please support xxhdpi and xxxhdpi in android:screenDensity

Community Beginner ,
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').

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.

TOPICS
Air beta

Views

5.3K

Likes

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

please support xxhdpi and xxxhdpi in android:screenDensity

Community Beginner ,
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').

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.

TOPICS
Air beta

Views

5.3K

Likes

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
Jan 26, 2015 1
New Here ,
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.

Likes

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
Reply
Loading...
Mar 12, 2015 0
New Here ,
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.

Likes

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
Reply
Loading...
Apr 01, 2015 4
Community Beginner ,
Apr 02, 2015

Copy link to clipboard

Copied

thanks i'll try it

Likes

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
Reply
Loading...
Apr 02, 2015 0