[TIMOB-430] Android build error no identifier found for attribute "smallScreens"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-04-21T10:40:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | android, buildproblem, klist |
Reporter | jasperdc |
Assignee | Alan Leard |
Created | 2011-04-15T02:29:10.000+0000 |
Updated | 2017-03-09T23:59:40.000+0000 |
Description
This is the error I keep getting when building for Android (I have tried every SDK version)
[ERROR] /Users/jasper/Development/Android/sdks/android-sdk-mac_86/platforms/android-1.5/tools/aapt /Users/jasper/Development/Repo-testprojects/Nieuwsbladsport_0.1/build/android/AndroidManifest.xml:9: ERROR No resource identifier found for attribute 'smallScreens' in package 'android'
For some reason the android-1.5/tools/aapt is called, but as far as I remembered the current release was supposed to use 1.6. Could this be the problem?
Thanks in advance,
Jasper
I'm using release 0.9.0 (but could not select this when adding this issue)
Comments
- Alan Leard 2011-04-20
If you set:
You will receive:<manifest> <supports-screens android:smallscreens="true" android:normalscreens="true" android:largescreens="true" android:anydensity="true"> </supports-screens> </manifest>
You can test with Kitchen Sink. Ticket Reference: http://appc.me/c/APP-512759[ERROR] /Users/alanleard/TiApps/KitchenSink/build/android/AndroidManifest.xml:3: error: No resource identifier found for attribute 'anydensity' in package 'android' [ERROR] /Users/alanleard/TiApps/KitchenSink/build/android/AndroidManifest.xml:3: error: No resource identifier found for attribute 'largescreens' in package 'android' [ERROR] /Users/alanleard/TiApps/KitchenSink/build/android/AndroidManifest.xml:3: error: No resource identifier found for attribute 'normalscreens' in package 'android' [ERROR] /Users/alanleard/TiApps/KitchenSink/build/android/AndroidManifest.xml:3: error: No resource identifier found for attribute 'smallscreens' in package 'android' [ERROR] Error generating R.java from manifest
- Don Thorp 2011-04-21
Please test again using the appropriate xml attributes. They are case sensitive.
<android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest> <supports-screens android:smallScreens="false" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true" /> </manifest> </android>
- Lee Morris 2017-03-09 Closing this ticket as the request for more information has not been provided.