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

Error:Execution failed for task ':tinkerdemo:tinkerProcessDebugManifest'. > tinkerId is not set!!! #39

Closed
ghost opened this issue Sep 26, 2016 · 11 comments

Comments

@ghost
Copy link

ghost commented Sep 26, 2016

t6 h3y7t 7h 5 _m4 7 5

虽然你一直说看close了的,但是真的懵逼啊,运行完,还是一样报错,找那报错的文件夹,却没发现文件,只有一个debug文件夹下的manifest,而且控制台的提示好像错了提示TINDER_ID=null

@shwenzhang
Copy link
Contributor

你get出来的tinkerId依然是空,是否正确加入到对的property文件。用单独的IDE窗口打开sample

@ghost
Copy link
Author

ghost commented Sep 26, 2016

自己按照README.md不行,但是导入tinker-sample-android,在gradle.properties加入TINKER_ID=your_ID是可以的,但是这样无解啊,按照README.md不能成功,难道自己写的项目要要把sample的配置全部拷过去?

@ghost ghost closed this as completed Sep 26, 2016
@shwenzhang
Copy link
Contributor

你看一下gitSha()那个函数返回什么不就可以了?很大可能是你没有配ide的git路径

@ghost
Copy link
Author

ghost commented Sep 26, 2016

不知道为什么,就算把配置拷过去,他会提示说找不到这个函数,就好像simple里面加了个判断函数再去apply那个tinker模块,那个函数都找不到,我也试过直接仿照simple里面的配置,把 getTinkerIdValue()函数和定义拷过去,最后说tinkerId这个属性没有,配置gradle我是小白,也没什么搞过,但是错误意思就是找不到这个tinkerId属性

@shwenzhang
Copy link
Contributor

@SunEvan ,这个是gradle基本的语法知识,建议先了解gradle配置相关知识。

@15189611
Copy link

请问如何看gitSha()这个函数返回值·,能打印?在Gradle 中,谢谢

@agoodcoolman
Copy link

我导入不了 你们的项目,直接clone ,打开不了。一直在读入项目。

@shwenzhang
Copy link
Contributor

@15189611 ,println就可以

@agoodcoolman
Copy link

@shwenzhang 导入不了你们的项目,你们使用as 2.2 开发的么。项目打不开。我看上面clone你们的项目可以打开。

@shwenzhang
Copy link
Contributor

@agoodcoolman , as版本不影响的。就是简单的导入项目,sample工程在单独的IDE 窗口即可

@agoodcoolman
Copy link

@shwenzhang 谢谢。我知道怎么做了。

This issue was closed.
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