Today, I exported the project of /alljoyn-14.02.00-rel/java/samples/simple/client from Eclispe and imported it to Android Studio(0.8.2). I could build the project in the Android Sutdio with jdk1.6.0_45. However, there was a problem, when I wanted to debug the client in my smart phone(Android version 4.3).
After installing the client in my phone, in the console of Android Studio there were some words, for example:
Launching application: org.alljoyn.bus.samples.simpleclient/org.alljoyn.bus.samples.simpleclient.Client. DEVICE SHELL COMMAND: am start -D -n "org.alljoyn.bus.samples.simpleclient/org.alljoyn.bus.samples.simpleclient.Client" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Connected to the target VM, address: 'localhost:8601', transport: 'socket' Disconnected from the target VM, address: 'localhost:8601', transport: 'socket'
At the same time, in my phone the client said that "Client is waiting for the debugger to attach ".
Before asking, I try to find the solution using Google. But, I failed. The solution from Google didn't work, for example:http://stackoverflow.com/questions/21745143/android-studio-cant-connect-to-debug-devices.
But, when I established a project for testing in the Android Studio, the test project could be debugged with the Android Studio and my phone.
So that, can I use AS to develop Alljoyn?
Thanks in advance.