Android Studio Manifest.xml错误提示:Expecting 'android:screenOrientation="unspecified"' or '"fullSensor"' for this activity
使用的是Android Studio 3.6,打开Manifest.xml,存在以下错误提示:Expecting 'android:screenOrientation="unspecified"' or '"fullSensor"' for this activity so the user can use the application in any orientation and provid
强大的Github查看代码Chrome插件Octotree
在Github看源码文件是一件很痛苦的事,特别是目录层级很深的文件。在这里推荐一款在github上的读码Chrome插件Octotree。octotree会读取github仓库上的代码层级,然后再github当前页面的左侧显示出代码层级的树状结构。先睹为快:
安装Chrome插件Octotree进入Chrome的插件应用商店,在搜索框输入Octotree,如图:
ionic 2 图片位置
ionic 2项目的src/assets目录是用来存放资源文件,图片可以放置在/src/assets/img下,引用如下:<img src="assets/img/yourimage.jpg" alt="">
对于之前放置的位置www/assets/img已被废弃,建议www/assets/img也迁移到src/as
ionic构建android报错:ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
使用ionic cordova构建android应用:ionic cordova build android --stacktrace
错误信息如下::generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
ERROR:&n
Ionic 3项目crosswalk报错:Could not resolve org.xwalk:xwalk_core_library:23 .
启动Ionic 3项目:ionic cordova run android --prod
报错信息:> Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'.