linuxxx / EasyPR_Android

EasyPR移植到Android版本
506 stars 252 forks source link

f0Interuption/Exception caught(code = 0x00000fd, addr=0000000076EE0DC) #17

Open jonaling opened 7 years ago

jonaling commented 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

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

Fan-Dev commented 7 years ago

你能打完整的汉字吗?