Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Setup & Debug Android Native code with DS-5 pro v5.11
Locked
Locked
Replies
2 replies
Subscribers
119 subscribers
Views
2670 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Setup & Debug Android Native code with DS-5 pro v5.11
Abel Zhang
over 12 years ago
Note: This was originally posted on 19th December 2012 at
http://forums.arm.com
Hi, while setup & debug Android native code with DS-5 pro v5.11, some issues occurred:
============================================================================================================================
Step1. Setting up the Android tools for use with DS-5
============================================================================================================================
Due to the chapter "Setting up the Android tools for use with DS-5" in
ARM DS-5 tutorials
, we setup Android software tools:
Android SDK: adt-bundle-windows-x86 and required SDK platforms
Android NDK: android-ndk-r8c-windows
Cygwin: 1.7.11
DS-5 Pro: v5.11
There are 2 vague configuration in setting up Procedure:
Issue1: Which PATH environment variable should be updated? MS Windows or Cygwin .bashrc or others?
Issue2: Are there any requirements about compatible revision between DS-5, Android SDK, Andoid NDK?
============================================================================================================================
Step 2: Loading the hello-neon application on to an Android target
============================================================================================================================
Due to the chapter " Loading the hello-neon application on to an Android target" in
ARM DS-5 tutorials
.
We imported HelloNeon project into Java workplace and generated libhelloneon.so,
but HelloNeon.apk could NOT be generate with operation "Build Project".
However, HelloNeon.apk could be generate with operation "Run As Android Application". and it works well on Emulator 5554:android 2.2.
Issue3: Are there any special settings to generate APK while "Build Project"?
When setting " Debug Configurations", Error message was shown:
"Configuration for connection type 'gdbserver' is not valid - An Android device must be selected. If none are available then start one using AVD."
Since NO APK has been generated, Another Error message was showned (Snap8.jpg):
Issue 4: How to set "Debug Configurations" and lauch Debug operation correctly?
Have Any talents Setup & Debug Android Native code with DS-5 pro v5.11 sucessfully?
Any comments/suggestions to resolve the above issues?
Thanks very much!
0
Quote