Hi
when I build for android I get the following error:
[ERROR] Error: Target id is not valid. Use 'android list targets' to get the target ids.
With the suggested command I get
android list targets
Available Android targets:
----------
id: 1 or "android-15"
Name: Android 4.0.3
Type: Platform
API level: 15
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800
ABIs : armeabi-v7a
Is it possible to set the id in packager.json ?
Anyway, I was able to continue by modifying the command in the log message and executed the following:
"/......./android-sdk-macosx/tools/android" create project --target android-15 --name MyApplication --activity STActivity --path "/Volumes/DATA/dev/build/native/" --package com.mycompany.myAppID
That worked. But now I would like to test this on my android phone. I have no experience with this, but on google they mention an apk file which is unfortunately not present in my native directory:
Code:
drwxr-xr-x 7 ME staff 238 May 14 11:30 ..
drwxr-xr-x 3 root staff 102 May 14 12:34 src
drwxr-xr-x 7 root staff 238 May 14 12:34 res
-rw-r--r-- 1 root staff 563 May 14 12:34 project.properties
-rw-r--r-- 1 root staff 781 May 14 12:34 proguard-project.txt
-rw-r--r-- 1 root staff 432 May 14 12:34 local.properties
drwxr-xr-x 2 root staff 68 May 14 12:34 libs
-rw-r--r-- 1 root staff 3504 May 14 12:34 build.xml
drwxr-xr-x 2 root staff 68 May 14 12:34 bin
-rw-r--r-- 1 root staff 698 May 14 12:34 ant.properties
-rw-r--r-- 1 root staff 647 May 14 12:34 AndroidManifest.xml
drwxr-xr-x 12 root staff 408 May 14 12:34 .
Did something go wrong during build or how should I install this on my android phone ?
Cheers
Luca