Piet De Booser
Member
After setting up the android sdk and basic 4 android I'm trying to compile my first application 'Hello World', I get the following errors.
What's wrong?
I've already copied the aapt.exe file in the platform-tools folder.
Generating R file. Error
W/ResourceType( 8840): No known package when getting value for resource number 0x01010000
W/ResourceType( 8840): Invalid package identifier when getting bag for resource number 0x01010000
W/thread ( 8840): WARNING: bad result from unlocking mutex
AndroidManifest.xml:2: error: No resource identifier found for attribute 'versionCode' in package 'android'
AndroidManifest.xml:2: error: No resource identifier found for attribute 'versionName' in package 'android'
AndroidManifest.xml:2: error: No resource identifier found for attribute 'installLocation' in package 'android'
AndroidManifest.xml:9: error: No resource identifier found for attribute 'minSdkVersion' in package 'android'
AndroidManifest.xml:9: error: No resource identifier found for attribute 'targetSdkVersion' in package 'android'
AndroidManifest.xml:10: error: No resource identifier found for attribute 'largeScreens' in package 'android'
AndroidManifest.xml:10: error: No resource identifier found for attribute 'normalScreens' in package 'android'
AndroidManifest.xml:10: error: No resource identifier found for attribute 'smallScreens' in package 'android'
AndroidManifest.xml:10: error: No resource identifier found for attribute 'anyDensity' in package 'android'
AndroidManifest.xml:14: error: No resource identifier found for attribute 'icon' in package 'android'
AndroidManifest.xml:14: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'windowSoftInputMode' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'launchMode' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'screenOrientation' in package 'android'
AndroidManifest.xml:24: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:25: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:29: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:31: error: No resource identifier found for attribute 'name' in package 'android'
What's wrong?
I've already copied the aapt.exe file in the platform-tools folder.
Generating R file. Error
W/ResourceType( 8840): No known package when getting value for resource number 0x01010000
W/ResourceType( 8840): Invalid package identifier when getting bag for resource number 0x01010000
W/thread ( 8840): WARNING: bad result from unlocking mutex
AndroidManifest.xml:2: error: No resource identifier found for attribute 'versionCode' in package 'android'
AndroidManifest.xml:2: error: No resource identifier found for attribute 'versionName' in package 'android'
AndroidManifest.xml:2: error: No resource identifier found for attribute 'installLocation' in package 'android'
AndroidManifest.xml:9: error: No resource identifier found for attribute 'minSdkVersion' in package 'android'
AndroidManifest.xml:9: error: No resource identifier found for attribute 'targetSdkVersion' in package 'android'
AndroidManifest.xml:10: error: No resource identifier found for attribute 'largeScreens' in package 'android'
AndroidManifest.xml:10: error: No resource identifier found for attribute 'normalScreens' in package 'android'
AndroidManifest.xml:10: error: No resource identifier found for attribute 'smallScreens' in package 'android'
AndroidManifest.xml:10: error: No resource identifier found for attribute 'anyDensity' in package 'android'
AndroidManifest.xml:14: error: No resource identifier found for attribute 'icon' in package 'android'
AndroidManifest.xml:14: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'windowSoftInputMode' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'launchMode' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'screenOrientation' in package 'android'
AndroidManifest.xml:24: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:25: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:29: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:31: error: No resource identifier found for attribute 'name' in package 'android'