0

I am trying to build an android application from the command line (the one described at "Minimal" source files to create Android app using Eclipse + ADT ) and aapt is failing with some errors.
The errors look like:

AndroidManifest.xml:1: error: No resource identifier found for attribute 'versionCode' in package 'android'
and are repeated once for each attribute in AndroidManifest.xml.

The command I am running is:
aapt package -M AndroidManifest.xml -S res -J gen

So I think I am somhow failing to define for aapt where to look for resource identifiers. Is this correct?
How do I tell aapt where to look for resource identifiers?
I am running Android Asset Packaging Tool, v0.2.
Thanks, Jim.

edit:I should have included a link to the page with the source I copied:
http://stackoverflow.com/questions/11888398/minimal-source-files-to-create-android-app-using-eclipse-adt

user1807717
  • 21
  • 1
  • 5

1 Answers1

0

The Best example I found on Internet so far to create android app is https://geosoft.no/development/android.html also in case if you are using support libraries app theme, it would be difficult to figure out how to create R.java classes, I would suggest you to use this reference answerHow to compile an Android app with aapt2 without using any build tools? by which you will be able to use android.jar's general theme without any dependency on any support library.