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

demo里面的主界面出现了,但是里面两个button,GO TO DEMO1和2点了没有反应 #74

Open
hongxialiu opened this issue Jun 19, 2016 · 3 comments

Comments

@hongxialiu
Copy link

demo里面的主界面出现了,但是里面两个button,GO TO DEMO1和2点了没有反应,我再想是不是我什么地方编译不对。我网上搜了下,也没有关于携程使用和编译的....好吧,或者我是小白。win7里面Android studio2.1

@hongxialiu
Copy link
Author

startActivity(new Intent(getApplicationContext(), Class.forName("ctrip.android.demo1.MainActivity")));打断点看到应该是Class.forName("ctrip.android.demo1.MainActivity"))没有找到这个类NOT FOUND CLASS.这个改怎么解决啊。。

@eity0323
Copy link

你运行的是demo-release-final.apk包吗?这个包里会把demo1,demo2的so文件打包进去的,应该不存在找不到类的问题

@yubenben
Copy link

我也遇到这个问题, 依次执行下面三个命令就好了.
gradle assembleRelease
gradle bundleRelease
gradle repackAll

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