Android Question First application

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'
 

hibrid0

Active Member
Licensed User
Longtime User
Check your manifest on B4A.
Menu->>Project->>Manifest Editor.

By Default this is the content on my current installation.
B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="19"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

Maybe will help you.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
How about all the paths? Are they correctly set?
 
Upvote 0

KMatle

Expert
Licensed User
Longtime User
Unbenannt.JPG
 
Upvote 0
Top