Open volkanuchar opened 6 years ago
Hi, I have put all codes to the folder cpp and my project structure is like this:
But when I click on the Build->Build APKs , no thing happended.
I just want to know whether It's necessary for me to install all 3 library above in my PC.
And hopes your help.
Hi,
Check the following location in your android project, it should contain the android archive for ALIZE which you can then import as a module in your application projects (instructions from the readme)
Really thanks @AhmadKhattak
I get following exception when importing the aar. Any idea why?
com.intellij.openapi.externalSystem.model.ExternalSystemException:
at org.jetbrains.plugins.gradle.service.execution.GradleExecutionHelper.execute(GradleExecutionHelper.java:218)
at com.android.tools.idea.gradle.project.build.invoker.GradleTasksExecutorImpl.invokeGradleTasks(GradleTasksExecutorImpl.java:397)
at com.android.tools.idea.gradle.project.build.invoker.GradleTasksExecutorImpl.run(GradleTasksExecutorImpl.java:165)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:713)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:543)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:488)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:315)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Hi, I have put that tree folders in right place, but it show failed when i open the project and build it .i don't know how to fix it .the error message is that
Error while executing process D:\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HC:\Users\1\Desktop\android-alize-master\alize -BC:\Users\1\Desktop\android-alize-master\alize.externalNativeBuild\cmake\debug\armeabi -GAndroid Gradle - Ninja -DANDROID_ABI=armeabi -DANDROID_NDK=D:\Android\Sdk\ndk-bundle -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\1\Desktop\android-alize-master\alize\build\intermediates\cmake\debug\obj\armeabi -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=D:\Android\Sdk\cmake\3.6.4111459\bin\ninja.exe -DCMAKE_TOOLCHAIN_FILE=D:\Android\Sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DANDROID_PLATFORM=android-16} | |
---|---|
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage | |
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage |
Have you met this problem? Looking forward anyone's help. Thanks~
i have fixed this problem already
@Sunny-NEU I am also getting the error Error:(313) CMAKE_CXX_COMPILER not set, after EnableLanguage . How do I solve this error?
@Sunny-NEU This is the first time I am also compiling a c++ project in Android studio.It would be great if you can tell how you solved the above CMAKE compiler problem.
How do I generate an APK or build an application out of this. A sample project to use this library/module would be helpful
hi. as told I downloaded core and lıa_ral as zip file.(maybe I understood wrong) then I copy and paste it to cpp with spro. in SimpleSpkDetSystem class <<System.loadLibrary("alize-native"); >> takes place. but I didnot download alize-naitive? and the methods like featurecounts,speakercounts,set option etc. all of them says "cannot resolve corrresponding JNI function".
unfortunately I failed with it. can anybody help me about it. my mail is volkanuchar@gmail.com