VPN termux about China.net

SDK


     How in linux ubuntu create project for android. First download SDK
from oficjal site. Extract and open ~/sdk/android-sdk-linux/tools folder
then run android. Install packed 19 not 25 or 24 you can install 23 but not 25
on my old ubuntu installing all night:<
now open console write

$ cd ~/sdk/android-sdk-linux/tools

open containing folder. here it is now open console here and run comands

$ ./android create project -t android-19 --package com.exemple.foo --name foo --activity fooActivity --path /home/rea/foo

    But first create folder manual "foo" in /home/rea/
Open this folder and console here and write this

$ ant debug
or
$ ant release

    That it is create android packed debug   release.

Perhaps errors:

Error: Target id is not valid. Use 'android list targets' to get the target ids.
 $ /android list targets

try  android-19

Error:   build.xml:649

 try  android-19



BUILD SUCCESSFUL
Total time: 47 seconds

No comments:

Post a Comment