2017-03-16 26 views
-1

'Tess-two'라이브러리를 다운로드했습니다. 프로젝트가 cmd에서 ndk-builded & ant 릴리스 였기 때문에, 프로젝트에서 라이브러리를 가져옵니다.제발 설명해주세요. 'ID가없는 플러그인', 'Android NDK undefined modules'

여기 하나의 오류가 있습니다.

'Plugin with id 'com.github.dcendents.android-maven' not found.' 

내 앱 모듈 gradle에 2 줄만 추가했습니다. 이

classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' 
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' 

오류 -like 완전히 해결하였으나 다른 오류가 나타났다.

C:/android-ndk-r14/build//../build/core/build-binary.mk:687: Android NDK: Module 
pngt depends on undefined modules: z 
C:/android-ndk-r14/build//../build/core/build-binary.mk:700: *** Android NDK: Ab 
orting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies).Stop. 

이번에는 tess-two \ jni \ Application.mk에 한 줄을 추가했습니다.

지금, 내 프로젝트는 매우 잘 구축 될 수 있습니다. 하지만 내가 한 일을 이해할 수는 없습니다.

누군가 나에게 설명해주세요. 그 오류와 그 코드가 어떻게 그 오류를 해결할 수 있었는지를 의미합니다.

+0

은의 http://stackoverflow.com/questions/28871084/how-to-fix-plugin-with-id-com-github-dcendents-android-maven-not-found-in-and – sasikumar

+0

가능한 중복 참조 [ID가 'com.github.dcendents.android-maven'인 플러그인을 수정하는 법은 없습니다. 안드로이드 스튜디오] (http://stackoverflow.com/questions/28871084/how-to-fix-plugin-with-id-com-github-dcendents-android-maven-not-found-in-and) –

답변

1

파일> 프로젝트 구조는

가 나는 NDK의 R14의 사양이기 때문에, 우리는 NDK의 r13b을 다운로드 한 후에 그것을 할 수 위에서 썼던 것처럼.

가까운 장래에 r14가되지만 이전 버전도 다운로드 할 수 있으므로 직접 확인하십시오.