Android Question ERROR MESSAGE - PLEASE HELP!!

Sanjaya

Member
Licensed User
Longtime User
Had to change Desktops cause of a direct hit by lightning on our home

Hard-Drive is fine but when inserted as secondary drive in new Computer - not Boot Drive - had to install Google SDK and B4A again

BUT, when compiling - getting this error - like some files are missing or not installed proper locations?!

Tried everything I could think of but not working

PLEASE HELP GUYS!!

ERROR MESSAGE when Compiling:

Parsing code. 0.09
Compiling code. 0.22
Compiling layouts code. 0.02
Generating R file. Error
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 'name' in package 'android'
AndroidManifest.xml:14: error: No resource identifier found for attribute 'protectionLevel' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'glEsVersion' in package 'android'
AndroidManifest.xml:17: error: No resource identifier found for attribute 'required' in package 'android'
AndroidManifest.xml:18: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:19: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:20: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:21: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:22: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:23: error: No resource identifier found for attribute 'name' 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:26: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:27: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:28: error: No resource identifier found for attribute 'icon' in package 'android'
AndroidManifest.xml:28: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:32: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:33: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:33: error: No resource identifier found for attribute 'value' in package 'android'
AndroidManifest.xml:36: error: No resource identifier found for attribute 'windowSoftInputMode' in package 'android'
AndroidManifest.xml:36: error: No resource identifier found for attribute 'launchMode' in package 'android'
AndroidManifest.xml:36: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:36: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:36: error: No resource identifier found for attribute 'screenOrientation' in package 'android'
AndroidManifest.xml:43: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:44: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:48: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:50: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:52: error: No resource identifier found for attribute 'windowSoftInputMode' in package 'android'
AndroidManifest.xml:52: error: No resource identifier found for attribute 'launchMode' in package 'android'
AndroidManifest.xml:52: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:52: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:52: error: No resource identifier found for attribute 'screenOrientation' in package 'android'
AndroidManifest.xml:59: error: No resource identifier found for attribute 'windowSoftInputMode' in package 'android'
AndroidManifest.xml:59: error: No resource identifier found for attribute 'launchMode' in package 'android'
AndroidManifest.xml:59: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:59: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:59: error: No resource identifier found for attribute 'screenOrientation' in package 'android'
AndroidManifest.xml:66: error: No resource identifier found for attribute 'windowSoftInputMode' in package 'android'
AndroidManifest.xml:66: error: No resource identifier found for attribute 'launchMode' in package 'android'
AndroidManifest.xml:66: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:66: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:66: error: No resource identifier found for attribute 'screenOrientation' in package 'android'
AndroidManifest.xml:73: error: No resource identifier found for attribute 'windowSoftInputMode' in package 'android'
AndroidManifest.xml:73: error: No resource identifier found for attribute 'launchMode' in package 'android'
AndroidManifest.xml:73: error: No resource identifier found for attribute 'name' in package 'android'
AndroidManifest.xml:73: error: No resource identifier found for attribute 'label' in package 'android'
AndroidManifest.xml:73: error: No resource identifier found for attribute 'screenOrientation' in package 'android'
 

eps

Expert
Licensed User
Longtime User
If you create a new project and generate, does this work? i.e. is it a problem with the old code or the installation?

Check the lib directory and what that is set to..

It might be worth cleaning the project (under Tools) and rebuilding - although take a copy/backup before doing so.
 
Upvote 0

Sanjaya

Member
Licensed User
Longtime User
Hi eps,

Thank you for the tip - but even a new project has the same error message

What do you mean by "check the lib directory and what that is set to"

Sanjaya
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
It might be worth cleaning the project (under Tools) and rebuilding - although take a copy/backup before doing so.
Note that you can always safely call Tools - Clean Project. It is called each time you compile your project anyway.

Try to reinstall Android SDK and then configure the IDE to use the new installation under Tools - Configure Paths.
 
Upvote 0
Top