hbuilder在android手机里用chrome调试,只显示了设备名称,却没有inspect按钮
摘要:stark 通过“菜单”->“工具”->“检查设备”打开设备检查页面,只显示了设备名称,却没有inspect按钮,要怎么办 1 赞2014-10-09 22:00 通过“菜单”->“工具”->“检查设备”打开设备检查页面,只显示了设备名称,却没有inspect按钮,要怎么办 1 赞2014-10-0
阅读全文
posted @
2016-06-22 15:36
袁晓平
阅读(2399)
推荐(0)
gradle command not found
摘要:Run: Example: find / -name 'gradle*' .... /Applications/Android Studio.app/Contents/gradle/gradle-2.10/bin/gradle .... 打开terminal,执行命令 /Applications/A
阅读全文
posted @
2016-05-11 11:25
袁晓平
阅读(3199)
推荐(0)
Androidstudio下Generate signed apk提示Error: Expected resource of type id [ResourceType]解决办法
摘要:只需要在报错位置所在的类上面添加: @SuppressWarnings("ResourceType") 即可实现Generate signed apk。
阅读全文
posted @
2016-05-06 12:13
袁晓平
阅读(639)
推荐(0)
android调用JPush获取手机的注册码(Cordova环境)
摘要:JPushInterface.addLocalNotification(cordova.getActivity().getApplication().getApplicationContext(), ln);String regId = JPushInterface.getRegistrationI...
阅读全文
posted @
2015-10-13 15:28
袁晓平
阅读(594)
推荐(0)
ionic安装拍照选照片插件
摘要:1、安装插件,也可以用ionic plugin add ....phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.gitphonegap local plugin add h...
阅读全文
posted @
2015-10-06 00:40
袁晓平
阅读(1117)
推荐(0)
Task '' not found in root project '***'.
摘要:android编译app报错:Task '' not found in root project '***'.将build.gradle里的if (gradle.gradleVersion >= "2.2") { dependencies { classpath 'com.and...
阅读全文
posted @
2015-09-22 23:49
袁晓平
阅读(18591)
推荐(0)
ffmpeg-2.3.3 configure for android
摘要:#! /bin/shNDK=/usr/local/android-ndk-r10PREBUILT=${NDK}/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64PLATFORM=${NDK}/platforms/android-L...
阅读全文
posted @
2014-09-17 22:01
袁晓平
阅读(500)
推荐(0)
qt创建android项目后需要加入的参数
摘要:默认用qtcreator5.2.0创建了一个quick项目,却报如下错误:error:cstdlib.h no such file or directory解决方法:打开项目文件untitled4.pro,加上INCLUDEPATH = d:/Soft/cygwin/usr/local/androi...
阅读全文
posted @
2014-09-14 16:25
袁晓平
阅读(397)
推荐(0)
crtbegin_dynamic.o: No such file: No such file or directory
摘要:/homesec/android2/zhangbin/053work3/hi050src/HiSTBAndroidV400R001C00SPC050B012/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc...
阅读全文
posted @
2014-09-14 16:19
袁晓平
阅读(945)
推荐(0)
macro names must be identifiers
摘要:1、错把 #include 写成了 #define 会报这个错2、定义一个不存在的宏业会报这个错,如加了-DANDRO 而ANDRO不存在
阅读全文
posted @
2014-09-14 16:18
袁晓平
阅读(470)
推荐(0)
error: qrc_qml.obj: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC解决办法
摘要:使用qtcreator加androidndk编译项目时报错:error: qrc_qml.obj: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPICerror: undefined reference to '_...
阅读全文
posted @
2014-09-14 16:16
袁晓平
阅读(3884)
推荐(1)
libogg.so fro android编译方法
摘要:在网站下载源代码http://www.xiph.org/downloads/解压然后打开cygwin配置CXX=arm-linux-androideabi-g++.exe LD=arm-linux-androideabi-ld.exe AR=arm-linux-androideabi-ar.exe ...
阅读全文
posted @
2014-09-07 18:25
袁晓平
阅读(757)
推荐(0)
android开发调用c++共享库so文件
摘要:1、编写libaab.cpp#include #include #ifdef __cplusplusextern "C" {#endifint go() { return 555; }#ifdef __cplusplus}#endif运行g++命令编译得到libaab.soarm-linux-an...
阅读全文
posted @
2014-09-04 23:23
袁晓平
阅读(1545)
推荐(0)