Today before lunch time I got the Samsung GT-i9250 Galaxy Nexus - Ice Cream Sandwich. We are going to use it to develop 3D Native Apps.
I did the usual step as you can see:
connect USB then on terminal run the command line:
$ adb devices
List of devices attached
0149C6F617016002 device
$ lsusb | grep 04e8
Bus 002 Device 003: ID 04e8:6860 Samsung Electronics Co., Ltd
Then setup the file:
# nano /etc/udev/rules.d/91-android.rules
SUBSYSTEM==”usb”, ATTRS{idVendor}==”04e8″, SYMLINK+=”android_adb”, MODE=”0666″
Closed the file. Then:
chmod 644 /etc/udev/rules.d/91-android.rules
service udev restart
Next I compiled the program and tried to run it in the android smartphone. The compiler showed my Android device as connected through USB, and asked me to choose it to run the program. Then:
Android Launch!
adb is running normally.
Performing android.app.NativeActivity activity launch
Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
ERROR: Application requires API version 15. Device API version is 14 (Android 4.0.2).
Launch cancelled!
So, should my device be updated? How to do it?
error is self explanatory i believe . either set lower value for MinSdkVersion in manifest , or use device with suitable API version .