igorski / MWEngine

Audio engine and DSP library for Android, written in C++ providing low latency performance within a musical context, while providing a Java/Kotlin API. Supports both OpenSL and AAudio.
MIT License
259 stars 45 forks source link

Cannot find Java classes in nl.igorski.mwengine.core #111

Closed rajaroni closed 4 years ago

rajaroni commented 4 years ago

After Setting Swig Getting this error as above package is unable to import.

igorski commented 4 years ago

Closing as this duplicates #112 please report OS, NDK and SWIG version in there.

rajaroni commented 4 years ago

Swig 3.0.12 and ndk r21

On Thu, Mar 5, 2020, 10:31 PM Igor Zinken notifications@github.com wrote:

Closed #111 https://github.com/igorski/MWEngine/issues/111.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/igorski/MWEngine/issues/111?email_source=notifications&email_token=ADRXK4S4EFHNPG7J6JE3I2LRF7OXDA5CNFSM4LAGIYV2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOXDT3VJQ#event-3102194342, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRXK4W7NXNUXAFTDT3Q4R3RF7OXDANCNFSM4LAGIYVQ .

igorski commented 4 years ago

Thanks, and what Operating System and its version?

rajaroni commented 4 years ago

Operating system windows 7 64bit

On Thu, Mar 5, 2020, 10:53 PM Igor Zinken notifications@github.com wrote:

Thanks, and what Operating System and its version?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/igorski/MWEngine/issues/111?email_source=notifications&email_token=ADRXK4QKJA4N7IAKI24FEUDRF7RLNA5CNFSM4LAGIYV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN6IC3Q#issuecomment-595362158, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRXK4VIRCDOJC22Z2IE2ITRF7RLNANCNFSM4LAGIYVQ .

igorski commented 4 years ago

Your NDK version is fine, if you have used Android Studio to install CMake you'll likely have version 3.10.x which is also fine, I doubt there is an issue with Android Studio or the Android SDK itself.

I'm thinking that the Java files have been generated fine (as you state), but in their implementation they reference an unsupported feature (making AS think the files contain errors, and therefor cannot be imported).

Can you try using the latest version of Swig (4.0.1) which you can get from the SWIG homepage (note the separate link for the Windows installer) ? Version 4 has improved a lot of support for C++14 code, which is what MWEngine uses.

rajaroni commented 4 years ago

Now i update my swig version to 4.0.1 but still same error My android studio version is 3.4.1 and OS is window 7 does updating android studio to 3.6.1 may help ?