[英]Android error in using curl as NDK?
I have following source code download from the link: https://github.com/fuhu/curl-android Now when I am running this code i am getting the following error 我从链接中下载了以下源代码: https : //github.com/fuhu/curl-android现在,当我运行此代码时,出现以下错误
E/AndroidRuntime(919): java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{me.cutemay.demo/me.cutemay.demo.Demo}: java.lang.ClassNotFoundException:
me.cutemay.demo.Demo
Please help me in to solve the error? 请帮我解决错误?
The error tells you what's happening: 该错误告诉您正在发生的事情:
ComponentInfo{me.cutemay.demo/me.cutemay.demo.Demo}: java.lang.
ComponentInfo {me.cutemay.demo / me.cutemay.demo.Demo}:java.lang。 ClassNotFoundException : me.cutemay.demo.Demo
ClassNotFoundException :me.cutemay.demo.Demo
It seems that the class Demo doesn't exist in the me.cutemay.demo package. 似乎me.cutemay.demo包中不存在Demo类。 Check your
AndroidManifest
and fix the name of the activity
: 检查您的
AndroidManifest
并更正activity
名称:
<activity
android:name="package.name.here.Demo"
And make sure the Demo class is in that package. 并确保Demo类在该程序包中。 I think this should fix your problem.
我认为这应该可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.