- 博客(172)
- 资源 (48)
- 论坛 (4)
- 收藏
- 关注
原创 Error:com.android.dx.cf.code.SimException
升级到Android studio 4.1,run失败在项目根目录中的gradle.properties文件中添加:android.enableD8=true
2020-10-23 16:05:09
62
原创 Can't convert to color: type=0x2
java.lang.UnsupportedOperationExceptionCan't convert to color: type=0x2解决方案不支持的操作异常。以下罗列出一些xml抛出该异常的情况:1.Android 4.x及以下的设备使用Android 5.0 以后MD设计引入的colorPrimary等属性造成的异常;2.有些基于Android原生系统再次开发的系...
2020-04-08 14:34:28
266
原创 DSBridge——一套H5代码就能同时与Android和iOS通信
DSBridge 和 WebViewJavascriptBridge相比的主要特点:DSBridge真正跨平台!原版WebViewJavascriptBridge只支持ios,只不过有人在android上也实现了和WebViewJavascriptBridge相同的前端调用协议,所以可以在ios/android上使用同一套js调用协议,但本身来讲,WebViewJavascriptBri...
2020-01-06 16:14:57
403
原创 flutter_blue 大坑录 #use_frameworks!
While building module 'flutter_blue' imported from /Users/paul/my_app/ios/Runner/GeneratedPluginRegistrant.m:10: In file included from <module-includes>:1: /Users/paul/my_app/build/...
2019-11-05 18:14:06
2192
2
原创 Flutter 常用命令
flutter flutter help flutter doctor flutter doctor -v flutter channel flutter channel stable flutter upgrade flutter package...
2019-06-04 17:56:50
1535
原创 Android Studio实用快捷键汇总
一、代码编写1. Option + ⬆️ / ⬇️ ---------- 扩大缩小选中范围2. Option + Shift + ⬆️ / ⬇️ ---------- 上下移动代码3. Cmd + D---------- 复制当前行到下一行4. Cmd + X---------- 剪切5. Cmd + Delete---------- 删除行6. Cmd + Opti...
2019-05-24 09:26:55
143
原创 Cause: androidx.navigation.safeargs plugin failed.
Cause: androidx.navigation.safeargs plugin failed.Following errors found:/Users/jasonhu/AndroidStudioProjects/TerminalPoststation-And/app/src/main/res/navigation/nav_store_statistic.xml:17:9 (...
2019-05-22 20:13:00
949
原创 Circular dependency between the following tasks
Circular dependency between the following tasks::app:checkManifestChangesDebug— :app:instantRunMainApkResourcesDebug— :app:transformClassesAndDexWithShrinkResForDebug— :app:transformDexArchiveWith...
2019-04-11 19:48:21
4987
原创 Flutter 图示
指导思想函数式编程响应式框架分层式架构---------------------------------------------------------------------------------------------------------------------------------------DART单线程模型-----------------------...
2019-02-22 20:08:25
117
原创 Flutter 资料
Documentation: https://docs.flutter.io/ Github: https://github.com/flutter/flutter StackOverflow: https://stackoverflow.com/questions/tagged/flutter Gitter: https://gitter.im/flutter/flutter Effec...
2019-02-15 20:42:26
520
原创 A problem occurred evaluating root project ''. > Plugin with id 'com.android.library' not found
17:22:11: Executing task 'assembleRelease'...Executing tasks: [assembleRelease]FAILURE: Build failed with an exception.* Where:Build file '/Users/jasonhu/AndroidStudioProjects/PhoneSDKApp/Phon...
2018-10-11 17:32:38
9141
原创 Program type already present
Q:Program type already present: android.arch.core.util.FunctionMessage{kind=ERROR, text=Program type already present: android.arch.core.util.Function, sources=[Unknown source file], tool name=Optional...
2018-05-28 19:25:15
7604
3
原创 The app.Configuration 'compile' is obsolete and has been replaced with 'implementation'.
For an Android project, the new configurations came with the Android Gradle Plugin 3.0. So unless you are still using the 2.x version of Android Studio / Android Gradle plugin, the use of compile is d...
2018-03-30 13:14:49
28886
原创 Android Studio import Project 的正确姿势
import Project 网络下载的项目经常卡住,常见原因有三个:1、Project自带的gradle与AS当前使用的gradle版本不一致2、Project生成的AS与本机AS版本差别大3、Project所引用的第三方库下载不下来一、针对问题1,修改Project使用本机的gradle版本:1-1、build.gradle// Top-level buil
2018-01-30 22:29:34
7108
原创 【深度学习笔记】(三)Tensorflow on Android
【深度学习笔记】(三)Tensorflow on Android一、准备好Android Studio及预先训练好的模型pb文件二、新建Android项目A并将pb模型放到assets文件夹三、添加libandroid_tensorflow_inference_java.jar到项目A的libs文件夹、添加libtensorflow_inference.so到项目A的libs\armeabi文件夹四
2017-12-05 17:38:30
341
原创 【深度学习笔记】(二)Hello, Tensorflow!
【深度学习笔记】(二)Hello, Tensorflow!一、安装官方安装的方式很多种,本文采用Docker方式。Docker的深入使用文案很长很多,但我们都不需要,我们的主要目的还是Tensorflow,所以只需要基本的使用即可。PS:打开Tensorflow官网是需要翻墙的,所以上面的一些链接不能翻墙的情况下是打不开的,然鹅!Docker不需要翻墙就能打开,所以用Docker来安装Tensorf
2017-11-27 18:50:45
347
原创 【深度学习笔记】(一)Octave
【深度学习笔记】(一)Octave介绍OctaveOctave是一种面向科学数学运算的原型语言,内置了强大的数学函数及图形展示工具。原型prototyping设计的意思是使用ovtave进行算法设计、实现、验证等过程。 推荐Octave快速实现算法原型。安装Octave以mac为例:1、安装Homebrew /usr/bin/ruby -e “$(curl -fsSL https://raw.g
2017-11-07 16:57:36
1123
原创 【python】]SyntaxError: Missing parentheses in call to 'print'
jasondeMacBook-Pro:web.py-0.37 jasonhu$ sudo python3 setup.py installPassword:Traceback (most recent call last): File "setup.py", line 6, in from web import __version__ File "/Users/jasonhu
2017-10-31 17:55:58
541
原创 go开发环境Gogland
1、下载链接: 百度网盘:go1.9.darwin-amd64.pkg 密码: uc9m2、根据安装器提示安装: 3、测试安装结果
2017-10-23 11:16:47
292
原创 EventBus: Could not dispatch event: class com.********.LoginEvent to subscribing class
Could not dispatch event04-18 14:10:11.062 4790-4790/com. E/EventBus: Could not dispatch event: class com..LoginEvent to subscribing class class .**.FragmentMy
2017-04-18 14:29:13
7181
原创 Instant Run is disabled for non-debug variants
Instant Run is disabled for non-debug variantsError running app: Cannot debug application from module app on device huawei-eva_al00-PBV0216708004833. This application does not have the debuggable att
2017-04-07 15:00:58
2296
原创 Android 6.0以下摄像头权限
不可行权限判断API:context.checkCallingPermissioncontext.checkCallingOrSelfPermissioncontext.checkSelfPermissionPermissionChecker.checkSelfPermission使用Camera中的mHasPermissionprivate boolean cameraHasPermission(
2017-03-31 11:37:58
2017
原创 Android 6.0 permission 权限适配
1、获取危险权限列表,每个分组申请其中一个权限即可:bogon:~ hujason$ adb shell pm list permissions -g -dDangerous Permissions:group:com.google.android.gms.permission.CAR_INFORMATION permission:com.google.and
2016-10-12 18:44:58
8516
2
原创 IPA提交APPStore问题记录(二)iOS10
1、上传安装包后提示:此构建无效We have discovered one or more issues with your recent delivery for "米饭公社". To process your delivery, the following issues must be corrected:This app attempts to access privacy
2016-09-18 19:13:05
853
原创 IPA提交APPStore问题记录(一)
1、ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': '152.png'">在上传IPA、验证资源文件的时候,找不到152.png的icon图标>重新Add File 到工程2、ERROR ITMS-9018
2016-06-21 12:07:33
3081
原创 Android Studio 问题记(一)
1,Error Loading Project: Cannot load module walk解决:close project , import project2,unregistered vcs root detected the directory 解决:add root
2016-06-21 11:57:27
7915
原创 X5、WebViewJavascriptBridge、百度地图网页版 整合注意事项
一 什么是webViewjavascripBridge? WebViewJavascriptBridge是移动UIView和Html交互通信的桥梁,用作者的话来说就是实现java(ios为oc)和js的互相调用的桥梁。替代了WebView的自带的JavascriptInterface的接口,使得我们的开发更加灵活和安全。 WebViewJava
2016-06-16 19:46:56
2251
3
原创 Execution failed for task ':compileDebugAidl'. java.lang.IllegalStateException: aidl is missing
Execution failed for task ':compileDebugAidl'. java.lang.IllegalStateException: aidl is missing统一所有的module的build tools版本与compile sdk版本
2016-06-13 16:43:35
5572
原创 This can be the result of a merge and the unknown UUID is being discarded.
pod install --verbose出行的问题:[!] `` attempted to initialize an object with an unknown UUID. `46E6C1FD1CEC5B8400E4281E` for attribute: `children`. This can be the result of a merge and the unk
2016-06-02 12:55:22
2487
原创 Unable to find the Xcode project `.xcodeproj` for the target `Pods`
[!] Unable to find the Xcode project `/Users/hujason/Documents/ios/IosWalk/path/to/.xcodeproj` for the target `Pods`.platform:ios,'7.0'pod 'JTCalendar', '~> 2.0'pod 'Toast', '~> 3.0'
2016-04-20 17:00:38
4410
原创 AAPT err(Facade for ): libpng error: Not a PNG file
拓展名改为jpeg即可。WeChatSDK_sample_Android
2016-03-23 11:38:41
5869
原创 ActivityNotFoundException: Unable to find explicit activity class
08-26 10:28:32.383: E/AndroidRuntime(11988): FATAL EXCEPTION: main08-26 10:28:32.383: E/AndroidRuntime(11988): Process: cn.com.vargo.ivargosetupwizard, PID: 1198808-26 10:28:32.383: E/AndroidRunti
2014-08-26 16:05:30
2913
原创 git查看某个文件的修改历史
git查看某个文件的修改历史有时候在比对代码时,看到某些改动,但不清楚这个改动的作者和原因,也不知道对应的BUG号,也就是说无从查到这些改动的具体原因了~【注】:某个文件的改动是有限次的,而且每次代码修改的提交都会有commit描述,
2014-08-22 10:56:23
3424
原创 把安卓源码中的system app独立出来,像开发普通app那样开发
个人建议首先按照android源代码的ide/eclipse中的格式化xml和import导入到你编译的eclipse中,如果你编译的android源代码是2.3以上的版本的,建议用JDK6以上,提醒各位的是new androidProject不是Java project. 此时你导入想DeskClock、Camera等没有调用到hide标签的项目时,这些项目都不会报错,你可以直接进行相应的修改或研究,呵呵,如果相应直接在eclipse或手机上运行的话,可能会提示你数字签名不正确,这个你自己改下整
2014-08-21 15:22:18
1978
原创 SVN cmd on Ubuntu
1、将文件checkout到本地目录 svn checkout path(path是服务器上的目录) 例如:svn checkout svn://192.168.1.1/pro/domain 简写:svn co 2、往版本库中添加新的文件 svn add file 例如:svn add test.php(添加test.php) svn add *.php(添加当前目录下所有的php文件) 3、将改动的文件提交到版本库 svn commit -m “LogMessage“ [-N] [--n
2014-08-21 11:29:44
986
原创 Ubuntu软件安装与删除命令
安装软件命令: apt-get install softname1 softname2 softname3……卸载软件命令: apt-get remove softname1 softname2 softname3……卸载并清除配置命令: apt-get remove --purge softname1更新软件信息数据库命令: apt-get
2014-08-20 21:55:46
747
SQLite可视化管理工具(SQLite Expert) V3.3.52.2203 英文破解版
2012-05-09
ios 7 xcode 5 objective-c
2014-05-22
Mac OS X背后的故事.pdf
2014-05-15
Cocoa.Programming.for.Mac.OS.X.4th.Edition.pdf+源代码.zip
2014-05-15
[Programming.iOS.7(4th,2013.12)].Matt.Neuburg.文字版.pdf
2014-02-10
[iOS.7.Programming.Fundamentals(2013.10)].Matt.Neuburg.文字版
2014-02-10
[iOS.7.Programming.Cookbook(2013.10)].Vandad.Nahavandipoor.文字版
2014-02-10
Beginning iOS 6 Development Exploring the iOS SDK.pdf
2014-02-10
Programming in Objective-C 5th Edition.epub
2014-02-10
RoadMapiOS.pdf 苹果官方
2014-02-10
db4o-8.0-java
2012-05-31
取色工具 android ui color
2012-05-11
开启eclipse代码提示功能
2012-04-13
ksoap2-android-assembly-2.5.4-jar-with-dependencies
2012-03-29
android自动化测试资料
2012-01-11
android感应器开发之加速度、方向传感器
2011-12-19
攻城无数的留言板
发表于 2020-01-02 最后回复 2020-03-16
技术书籍超低价转让
发表于 2014-06-15 最后回复 2014-08-08
请介绍一下算法工程师职位,以及如何成长为一位优秀的算法工程师
发表于 2011-11-17 最后回复 2012-02-19
系统程序员具体是做什么,需要学习那些知识
发表于 2012-01-07 最后回复 2012-02-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人 TA的粉丝