Open jonaling opened 7 years ago
you wen ti yong NDK zai: (There is a problem when running with NDK at:) :app:cleanNative
"F:\Android\sdk1\ndk-bundle\build..\prebuilt\windows-x86_64\bin\make.exe": Interrupt/Exception caught (code = 0xc00000fd, addr = 0000000076EEF0DC). Error:Execution failed for task ':app:cleanNative'. Process 'command 'F:\Android\sdk1\ndk-bundle\ndk-build.cmd'' finished with non-zero exit value 255
"F:\Android\sdk1\ndk-bundle\build..\prebuilt\windows-x86_64\bin\make.exe": Interrupt/Exception caught (code = 0xc00000fd, addr = 0000000076EEF0DC).
Error:Execution failed for task ':app:cleanNative'. Process 'command 'F:\Android\sdk1\ndk-bundle\ndk-build.cmd'' finished with non-zero exit value 255
Zai "build.gradle", wo chuan zhe li:
task buildNative(type: Exec, description: 'Compile JNI source via NDK') { def ndkDir = android.ndkDirectory commandLine "$ndkDir\\ndk-build.cmd", '-C', file('src/main/jni').absolutePath, // Change src/main/jni the relative path to your jni source '-j', Runtime.runtime.availableProcessors(), 'all', 'NDK_DEBUG=0' }
task cleanNative(type: Exec, description: 'Clean JNI object files') { def ndkDir = android.ndkDirectory commandLine "$ndkDir\\ndk-build.cmd", '-C', file('src/main/jni').absolutePath, // Change src/main/jni the relative path to your jni source 'clean' }
Wo yong 'Windows 7 cmd' kai. Wo yao yong 'emulator' kai
你能打完整的汉字吗?
you wen ti yong NDK zai: (There is a problem when running with NDK at:) :app:cleanNative
Zai "build.gradle", wo chuan zhe li:
Wo yong 'Windows 7 cmd' kai. Wo yao yong 'emulator' kai