Create R.java Using AAPT

I am trying to generate an apk file using the command line following the blog below.

Generate APK using command line

I have generated the key successfully but when I try to create R.java it gives the following error

The command I used to create R.java: -

E:\ADT\adt-bundle-windows-x86_64-20140702\sdk\build-tools\19.0.0>aapt com.concep
t.build -v -f -m -S E:\AppBuilder\res -J E:\AppBuilder\gen -M E:\AppBuilder\Andr
oidManifest.xml -I E:\ADT\adt-bundle-windows-x86_64-20140702\sdk\platforms\andro
id-19\android.jar

      

Mistake: -

**Crunching PNG Files in source dir: E:\AppBuilder\res
To destination dir: (null)**

      

Please tell me what I am doing wrong.

OR Can you please help me how to generate apk using command line.

+3


source to share





All Articles