[Cs-dev] Working with csound in Android Studio
Date | 2015-09-07 23:09 |
From | dobislaw |
Subject | [Cs-dev] Working with csound in Android Studio |
Dear Csound forumers, I have a strong desire to work with Csound in a very user friendly IDE named Android Studio. However, I spent many days on unsuccessful attempts to get this IDE configured. I was trying to add CsoundAndroid lib to make it work, but with no success. My Eclipse works fine with csound. But I have read that Google will not support ADT plugin for Eclipse in the near future. So, the obvious solution is to migrate to the new IDE. Do you have tutorials/solutions how to configure Android Studio? Or should I wait for the new csound version, which would hopefully have that patch? PS. I have found that official guys from Csound are into the process of migrating csound library into Android Studio: https://github.com/csound/csound/issues/460 Thank you in advance, Michał -- View this message in context: http://csound.1045644.n5.nabble.com/Working-with-csound-in-Android-Studio-tp5743452.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourcefo |
Date | 2015-09-08 12:18 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
Attachments | None None |
Have you seen this: I've had no issues working with Csound6.03 and Android Studio. I've not tried with later versions. http://csound.1045644.n5.nabble.com/Compiling-csound6-04-Sample-CSDPlayer-in-ANDROID-STUDIO-td5740225.html#a5740263 On 8 September 2015 at 00:09, dobislaw <scoobiedoobielbn@gmail.com> wrote: Dear Csound forumers, |
Date | 2015-09-08 12:19 |
From | Steven Yi |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
Hi Michał, I'm planning to look into getting Csound updated for Android next week, as I've been pre-occupied with other work. I don't have any suggestions other wise, but perhaps others here may have some ideas. Once I start working on the update, having feedback from you and others would be very much appreciated. Thanks! steven On Mon, Sep 7, 2015 at 11:09 PM, dobislaw |
Date | 2015-09-08 14:20 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
Attachments | None None |
Of course. Best, On Sep 8, 2015 7:20 AM, "Steven Yi" <stevenyi@gmail.com> wrote:
Hi Michał, |
Date | 2015-09-09 09:26 |
From | dobislaw |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
So I have followed and tried rory walsch recipe. I have added in Android Studio two .jar libraries. In build.gradle I have written: compile files('libs/csoundandroid.jar') compile files('libs/armeabi.jar') IDE doesn't show any errors. Building the application works fine. However I cannot run the app. I get the following message: 09-09 10:22:34.572 7705-7705/com.example.dobi.hbeats E/art﹕ No implementation found for long csnd6.csndJNI.new_AndroidCsound__SWIG_0(boolean) (tried Java_csnd6_csndJNI_new_1AndroidCsound_1_1SWIG_10 and Java_csnd6_csndJNI_new_1AndroidCsound_1_1SWIG_10__Z) 09-09 10:22:34.573 7705-7705/com.example.dobi.hbeats D/AndroidRuntime﹕ Shutting down VM 09-09 10:22:34.575 7705-7705/com.example.dobi.hbeats E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.example.dobi.hbeats, PID: 7705 java.lang.UnsatisfiedLinkError: No implementation found for long csnd6.csndJNI.new_AndroidCsound__SWIG_0(boolean) (tried Java_csnd6_csndJNI_new_1AndroidCsound_1_1SWIG_10 and Java_csnd6_csndJNI_new_1AndroidCsound_1_1SWIG_10__Z) at csnd6.csndJNI.new_AndroidCsound__SWIG_0(Native Method) at csnd6.AndroidCsound. |
Date | 2015-09-09 11:48 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
Attachments | None None |
What version of Csound are you using? On 9 September 2015 at 10:26, dobislaw <scoobiedoobielbn@gmail.com> wrote: So I have followed and tried rory walsch recipe. |
Date | 2015-09-09 12:32 |
From | Steven Yi |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
Are you by chance deploying to an intel emulator or device? The native libraries are compiled for: On Wed, Sep 9, 2015 at 9:26 AM, dobislaw |
Date | 2015-09-09 12:32 |
From | Steven Yi |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
Sorry, sent reply early, the libraries are compiled for: APP_ABI := armeabi armeabi-v7a On Wed, Sep 9, 2015 at 12:32 PM, Steven Yi |
Date | 2015-09-09 12:55 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
Attachments | None None |
For what's it's worth I was never able to run my Csound-Android apps through the emulator. Always had to push it to my phone first. On 9 September 2015 at 13:32, Steven Yi <stevenyi@gmail.com> wrote: Sorry, sent reply early, the libraries are compiled for: |
Date | 2015-09-09 14:58 |
From | dobislaw |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
I am using the latest Csound library with Android Studio 1.3. I am not using an emulator - I deploy my app to the Nexus 7 (2013) tablet which has armeabi-v7a architecture (I checked this by command: adb shell getprop ro.product.cpu.abi) Michał -- View this message in context: http://csound.1045644.n5.nabble.com/Working-with-csound-in-Android-Studio-tp5743452p5743524.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net htt |
Date | 2015-09-09 16:03 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Working with csound in Android Studio |
Attachments | None None |
I haven't tried with the latest versions of Csound, but I can report no errors with Csound6.03. I do hope to get back to some Android development soon so I will try the latest binaries then. On 9 September 2015 at 15:58, dobislaw <scoobiedoobielbn@gmail.com> wrote: I am using the latest Csound library with Android Studio 1.3. |