
BugList-Android
小涵
博客:https://blog.mylearning.top/
我的QQ:3049720393
欢迎交流!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android5.0: JNI DETECTED ERROR IN APPLICATION
Android 5.0+ uses a different virtual machine (previously Dalvik, and now ART). This new VM is much more strict with JNI code. One of the check that is made now is that you are not allowed to call n原创 2015-08-12 14:15:44 · 11062 阅读 · 0 评论 -
[Android-Bug] Android WebView XMLHttpRequest cannot load file from android asset folder
WebView调用assets里的html,其中jquery的ajax请求报错误:Cross region XHMLHttpRequest…解决方式:// settings for webviewmWebView = (WebView)findViewById(R.id.activity_main_webview);mWebView.getSettings().setJavaScrip...原创 2018-12-01 20:08:37 · 919 阅读 · 0 评论 -
Android8+: WebView gif not shown or has no animation
Android8+: WebView gif not shown or has no animation部分8.0手机WebView加载GIF动图需要打开硬件加速部分8.0手机WebView加载GIF动图需要打开硬件加速Method1在清单文件中打开整个项目或activity的硬件加速// Manifest.xmlandroid:hardwareAccelerated="true" ...原创 2018-11-20 10:13:12 · 451 阅读 · 0 评论 -
Bug-JNI: JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception 'java.
该问题产生与继承的子类没有定义方法,而该方法字父类已定义,但是由于是private,所以子类无法找到该方法,改为protect或者public原创 2016-06-30 09:26:18 · 15524 阅读 · 0 评论 -
Bug-List: call of overloaded 'sqrt(u16&)' is ambiguous
I think that is because in newer versions of C++, sqrt is overloaded (argument can be double, float or long double) and you pass in an int. Just cast the argument to double to make it clear:in原创 2016-06-30 09:22:11 · 1142 阅读 · 0 评论 -
Android ndk报错error: format not a string literal and no format arguments [-Werror=format-security]
问题: 在使用ndk-r9版本的ndk-build命令编译jni时,报错error: format not a string literal and no format arguments [-Werror=format-security]原因: Android-ndk-r9与Eclipse的版本不兼容问题。解决方案:原创 2016-04-21 09:12:01 · 3833 阅读 · 0 评论 -
NDK: could not load needed library 'libstlport_shared.so' for 'libxxxxx'
C++ Library SupportOn this pageHelper RuntimesRuntime CharacteristicsImportant ConsiderationsLicensingThe Android platform provides a very minimal C++ runtime support library (li原创 2016-05-02 12:56:40 · 2992 阅读 · 0 评论 -
Android: 关于Canvas.drawText
关于Text的大小测量还好说,如下图。关于drawText确实是一个头疼的问题,这里暂时记下,以后会整理贴出。原创 2016-04-15 10:57:26 · 589 阅读 · 0 评论 -
Android: Feature_Custom_Title crash-you cannot combine....
修正:首先对应activity的manifest文件中必须加入:android:theme标签。然后activity中的onCreate函数: requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(layoutResID); getWindow().setFeatureInt(Window.FEAT原创 2016-01-06 11:27:37 · 854 阅读 · 0 评论 -
Android NDK *** could not be resolved
Type '*****' could not be resolvedMethod '******' could not be resolved等等很多诸如此类的错误解决方法:是由于没有将jni.h导入的缘故,而这个文件在ndk的目录下面。所以,参照以下步骤:Project Properties -> C/C++ General -> Path and Symbols原创 2015-07-31 11:31:26 · 577 阅读 · 0 评论 -
【Android】Android WebView通过Chrome调试
How无论是调试Web页面还是调试Hybrid混合应用,只要是调试Android的webview,都需要使用Chrome://inspect进行调试。但是国内开发者会出现页面空白和404 Not Found错误:调试WebView出现404页面的解决方法翻墙吧~~~...原创 2018-12-01 20:11:33 · 555 阅读 · 0 评论