android
Zzy_Genesis
这个作者很懒,什么都没留下…
展开
-
Execution failed for task’:app:transformClassesWithMultidexlistForRelease’和 ‘com.android.build.api.t
Execution failed for task’:app:transformClassesWithMultidexlistForRelease’和 ‘com.android.build.api.transform.TransformException: Error while generating the main dex list.在unity中遇见类似错误可以导出安卓工程 用android studio, 这个问题就是说明你的jar或者aar里有一些重复的引用,可能是引用的jar重复了.用a.原创 2020-07-08 15:24:42 · 445 阅读 · 0 评论 -
android:screenOrientation属性
android:screenOrientation属性今天工作中发现一个activity的android:screenOrientation属性设置为behind,平时经常看到的是landscape、portrait,一时没有反应过来,故查了一下android:screenOrientation支持的属性。众所周知,Android应用程序中,android:screenOrientation用于控制activity启动时方向,取值可以为:unspecified,默认值,由系统决定,不同手机可能不一原创 2020-07-06 11:41:27 · 323 阅读 · 0 评论 -
c#中获取当前时间戳的几种方法
第一种/// <summary> /// 获取当前时间戳 /// </summary> /// <returns></returns> public string GetTimeStamp() { TimeSpan ts = ...原创 2019-09-17 15:22:21 · 14669 阅读 · 1 评论 -
Failed to compile resources with the following parameters:
jdk是9.0的跟sdk的等级不匹配了,要吗升级sdk的要么把jdk降级到8.0原创 2018-03-09 12:03:14 · 1486 阅读 · 0 评论 -
unity打包时错误信息 Failed to build apk.See the Console for details.解决方案
报错如图所示,,,,,,,,,,下面为解决方案,密码错误:原创 2017-08-28 15:51:54 · 10829 阅读 · 3 评论 -
AndroidManifest.xml:10: error: Error: No resource found that matches the given name
unity中接入sdk时会有这样的情况因为res里没有找到相对应文件名的文件,,,,原创 2017-07-26 14:29:29 · 1801 阅读 · 0 评论 -
在eclipse中查看手机安装apk的日志
原创 2017-07-26 14:40:04 · 1500 阅读 · 0 评论 -
eclipse安装到手机apk时INSTALL_FAILED_UPDATE_INCOMPATIBLE的安装错误
我遇到的情况是,手机中安装过同样包名的apk,,,,,,,把之前的删除就可以正常安装了原创 2017-07-26 14:33:01 · 509 阅读 · 0 评论 -
Call requires API level 3 (current min is 1)问题解决
现象: 新导入一个工程,结果出现“Call requires API level 3 (current min is 1):Android.text.format.Formatter#formatFileSize"错误。解决方法: 在工程上点击右键 -> android Tools -> Clear Lint Markers,即可。转载 2017-07-26 14:22:26 · 1555 阅读 · 0 评论 -
eclipse出现 Some characters cannot be mapped using "GBK" character encoding 错误代码的解决办法
依次点击Window->Profermance->General->Content Type->Text看目录下面的每个文件,包括子目录里面 Default encoding的值是否为utf-8,如果为别的值或为空,则全部改为utf-8,每一项改完,别忘了点一下update.全部改完后推出菜单,再点一下保存,终于成功了。记录下,已做纪念转载 2017-07-26 14:20:58 · 499 阅读 · 0 评论 -
java中如何实现在手机里弹出安卓框,提示框
public void onClick(View v) { // TODO Auto-generated method stub new AlertDialog.Builder(this).setTitle("请遵守华为游戏中心服务条款,安装华为游戏中心")//设置对话框标题 .setMessage("请重启游戏后,点击开启即可进入游戏"原创 2017-08-09 19:44:48 · 6526 阅读 · 0 评论 -
Unity打包安卓apk时或发布安卓程序时提示 Android Asset Packaging Tool Failed
解决方案:Assets\StreamingAssets路径下不能放文件夹,删除文件夹就好,原因不怎么清楚,明白的告知下原创 2017-04-12 15:00:41 · 3341 阅读 · 0 评论 -
UnityException: Can not sign application Unable to sign application; please provide passwords!
UnityException: Can not sign applicationUnable to sign application; please provide passwords!Error building Player: UnityException: Can not sign applicationUnable to sign application; please原创 2017-04-18 18:01:17 · 10968 阅读 · 0 评论 -
Untiy导入package时报错Failed to import package with error: Couldn't decompress package
Untiy导入package时报错Failed to import package with error: Couldn't decompress package原创 2017-04-17 16:31:25 · 4817 阅读 · 0 评论 -
unity3d-配置Android环境,打包发布Apk流程详解
unity3d-配置sdk,jdk Android环境,打包发布Apk流程详解转载 2017-04-13 11:04:52 · 29164 阅读 · 15 评论 -
Unable to convert classes into dex format. See the Console for details
Unity打包时"Unable to convert classes into dex format. See the Console for details"报错解决方案原创 2017-04-12 16:09:05 · 2626 阅读 · 0 评论 -
AndroidManifest.xml配置文件
xml version="1.0" encoding="utf-8"?> manifest> manifest>AndroidManifest.xml配置文件的根元素, 必须包含一个application>元素并且指定xlmns:android和package属性。 xlmns:android指定了Android的命名空间,默认情况下是“http://schemas.and转载 2017-04-12 15:31:33 · 448 阅读 · 0 评论