Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么才能编译通过? #3

Open
bumbleben2486 opened this issue Aug 23, 2016 · 5 comments
Open

怎么才能编译通过? #3

bumbleben2486 opened this issue Aug 23, 2016 · 5 comments

Comments

@bumbleben2486
Copy link

(1)我用AS编译,然后发现要gradle.properties里面写很多跟“POM”有关的变量配置,然后应该怎么配置。
(2)我随便在gradle.properties下把所有变量补上之后,编译的时候,JniBitmapOperationLibray这个module会报错,错误信息如下:
C:\Users\Administrator\talk-android\library\JniBitmapOperationsLibrary\jni\do_not_delete_me_i_am_workaround.c:1:0: fatal error: opening dependency file C:\Users\Administrator\talk-android\library\JniBitmapOperationsLibrary\build\intermediates\ndk\release\obj/local/armeabi-v7a/objs/JniBitmapOperationsLibrary/C_\Users\Administrator\talk-android\library\JniBitmapOperationsLibrary\jni\do_not_delete_me_i_am_workaround.o.d: No such file or directory
(3)我把你们叫我不要删除的那个do_not_delete_me_i_am_workaround.c文件删除之后呢,准备clean一下project,然后就报出下面的错误:
Error:(540, 5) opening dependency file C:\Users\Administrator\talk-android\library\JniBitmapOperationsLibrary\build\intermediates\ndk\release\obj/local/armeabi-v7a/objs/JniBitmapOperationsLibrary/C_\Users\Administrator\talk-android\library\JniBitmapOperationsLibrary\jni\JniBitmapOperationsLibrary.o.d: No such file or directory。

@NLMartian
Copy link

NLMartian commented Aug 23, 2016

mac上编译没问题,windows上没试过
这个module是用来处理大图的,如果实在不行的话,你就删了用java代码来实现吧

@bumbleben2486
Copy link
Author

没接触过Maven的配置,能否提供一个配置好的gradle.properties文件。

@wlanjie
Copy link
Contributor

wlanjie commented Aug 24, 2016

@bumbleben2486 你的配置发出来看下,如果还不行,把budil目录删除掉试下

@bumbleben2486
Copy link
Author

build目录都还没被AS构建出来。我里面与POM有关的变量,都是随便填的,然后在编译了两次之后,发现失败,然后觉得无从入手了。

@wlanjie
Copy link
Contributor

wlanjie commented Aug 24, 2016

@bumbleben2486 gradle.properties里面有用的只有 android.useDeprecatedNdk=true 其它的都是配签名文件的key和alias相关的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants