打包时报如下错误: <ignore_js_op> Export aborted because fatal lint errors were found. These are listed in the Lint View. Either fix these before running Export again,or turn off"Run full error check when exporting app" in the Android > Lint Err…
Android 程序开发完成后,如果要发布到互联网上供别人使用,就需要将自己的程序打包成Android 安装包文件(Android Package,APK),其扩展名为.apk.使用run as 也能生成一个APK安装包,但是使用run as 生成的是测试的安装包,只供开发者自己测试使用. 接下来就以HelloWord程序为例演示如何生成正式的APK文件. 1.右键项目名称,依次选择Android Tools——>Explort Signed Application Package,如图所示:…
1. 编译时出现/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../libz.so when searching for -lz PLATFORM_VERSION_CODENAME=AOSPPLATFORM_VERSION=AOSPTARGET_PRODUCT=genericTARGET_BUILD_VARIANT=engTARGET_SIMULATOR=TARGET_BUILD_TYPE…
记录开发中常出现的错误 1.遇到这样的错误时,应该立马想到是书写错误或语法错误,常见为android:name写成了name Attribute is missing the Android namespace prefix 2.解决:菜单:project->clean. Activity not started, its current task has been brought to the front 3.可能是title的冲突,解决:AndroidManifest.xml下的androi…
[错误信息] [2011-01-19 16:39:10 - ApiDemos] WARNING: Application does not specify an API level requirement![2011-01-19 16:39:10 - ApiDemos] Device API version is 8 (Android 2.2)原因:不影响正常运行.在AndroidManifest.xml文件中没有加API的版本号,在<manifest> </manifest> 之…
1.无法使用网络:Permission denied(maybe missing internet permission) 在AndroidMainifest.xml中增加允许使用网络选项(在</application>结束标签之后>): <uses-permission Android:name="android.permission.INTERNET" /> 2.找不到activity类: android.content.ActivityNotFoun…
新建一个项目,就不说了,就是用命令行 cocos new HelloLua -p com.wwj.hellolua -l lua -d ~/Cocos2dxProj ,生成下 然后把项目导入eclipse中,下一步就是编译so文件了,先cd进入proj.android中,生成so有好几种命令行方式,这里用cocos compile -p android --ap 20, 之后便开始编译,如果在编译过程中遇到这个错误 , 说明你新建的项目的路径太长了,剪切项目然后复制到一个短一点的路径,比如c\q…
这是我的第一个博客,我会一直添加我在Android开发中遇到的错误,用来记录我开发中踩过的那些坑 ------------------------分割线-------------------------------------   1.ClassCastException   类型转换错误 常发生在找到某个东西时,强转 RemoteException:无法建立远程服务连接 syntax :语法错误   2.Error:Execution failed for task ':app:compile…
一,依赖冲突 All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 27.1.1. Examples include com.android.support:animated-vector-drawable:28.0.0 and com.android.…
1.出现 “Unable to resolve target 'android-9'”,解决办法: 一般移植别人工程会出现此错误. 右键项目文件--->properties--->android选择对应版本保存(设置后丢失的gen文件中的R.JAVA自动刷新出) 或者: 进入你的android project跟目录,找到此文件project.properties(或default.properties), 找到target=android-9,出现此错是因为你的android环境跟此处不对应,…