草庐IT

openid-dex

全部标签

android - 需要登录的 Android 应用程序的 OpenID

我是Google的Android平台上的新开发人员-我的HTCDesire上周到货了。现在我需要一种方法来登录我现有的应用程序(Java,目前在码头上运行)。服务端Application使用springsecurity3.0.2开发就我而言,我想支持以下内容:如果用户使用googlemail/google-Account设置了他的Android手机(大多数用户都这样做),我想使用此帐户凭据自动登录到我的服务器应用程序。是否有任何Android框架支持该用例?或者有其他选择吗?我阅读:httpcode.google.comintl/de-DE/apis/accounts/docs/Ope

Android - 使用 Dex 转换类进行调试

在我添加Facebook依赖项之前,我的项目运行良好。我已经开始收到此错误。我读过很多问题,问题似乎与MultiDex有关。但是没有一个解决方案对我有用Error:Executionfailedfortask':app:transformClassesWithDexForDebug'.>com.android.build.api.transform.TransformException:com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:Process'com

Android:我的应用程序太大并给出 "Unable to execute dex: method ID not in [0, 0xffff]: 65536"?

我正在尝试将我的应用程序与Box、Dropbox和GoogleDrive集成。所有这3项服务都需要许多3rd方jar。此外,我的应用程序已经需要一些3rd方jar。现在,当我尝试从Eclipse运行我的应用程序时,出现以下错误:Unabletoexecutedex:methodIDnotin[0,0xffff]:65536ConversiontoDalvikformatfailed:Unabletoexecutedex:methodIDnotin[0,0xffff]:65536出现这个错误似乎是因为我的应用程序有太多方法。我相当肯定这些方法中的大部分来自第3方jar,因此尝试通过简化我

android - com.android.dex.DexException : Multiple dex files define

我使用的是AndroidStudio0.4.2。从使用0.3.2的friend那里打开的项目。试图编译但出现异常。Executionfailedfortask':JuiceTV:dexDebug'.>com.android.ide.common.internal.LoggedErrorException:Failedtoruncommand:C:\ProgramFiles\Android\android-studio\sdk\build-tools\19.0.0\dx.bat--dex--outputD:\AntikTV-Android\JuiceTV\build\libs\Juice

android - 错误 : Multi dex requires Build Tools version

我刚刚更新了我的androidstudio,我收到了这个错误:Error:Executionfailedfortask':app:transformClassesWithDexForDebug'.com.android.build.api.transform.TransformException:java.lang.RuntimeException:com.android.ide.common.process.ProcessException:java.util.concurrent.ExecutionException:java.lang.IllegalStateException:

android - Android Studio 中的 "Incremental Dex"选项有什么作用?

在AndroidStudio中,当您在ProjectStructure窗口中选择一个模块时,在Properties选项卡下有一个选项可以将“IncrementalDex”设置为true或false。它到底有什么作用,应该在什么时候使用? 最佳答案 它类似于增量构建,仅在输入文件已被修改时才重新构建其输出。减少构建时间很有用。"只有修改过的模块的dex文件会被重新计算并重新打包成APK文件"取自https://developer.android.com/tools/building/multidex.html

android - 按包显示 dex 方法计数

我正在开发超出dex方法计数限制的Android应用程序。有没有一种简单的方法来显示方法计数按包分组?我可以获得总方法计数,但我的应用程序有多个组件,我正在尝试找出哪个组件对此贡献最大。 最佳答案 我编写了一个dex-method-counts工具,它比JesusFreke的回答中引用的基于smali的工具更快、更准确地输出每个包的方法计数。可以从https://github.com/mihaip/dex-method-counts安装.[1]该脚本将.dex反汇编并按包重新组装,但这意味着被多个包引用的方法被计算两次

android - 多个dex文件定义Lcom/google/android/gms/internal/zzau

我在运行我的应用程序时收到错误com.android.dex.DexException:MultipledexfilesdefineLcom/google/android/gms/internal/zzau;gradle文件是app.gradledependencies{compilefileTree(include:['*.jar'],dir:'libs')compile'com.android.support:support-v4:21.0.3'compile'com.android.support:appcompat-v7:21.0.3'compile'com.android.s

android - 无法合并 Dex - Android Studio 3.0

当我在稳定channel中将我的AndroidStudio更新到3.0并运行项目时,我开始收到以下错误。Error:Executionfailedfortask':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.com.android.builder.dexing.DexArchiveMergerException:Unabletomergedex我尝试清理和重建项目,但没有成功。任何帮助将不胜感激。项目级build.gradlebuildscript{repositories{jcenter()google()}de

android - 合并 dex 程序类型已存在时出错 : android. support.v4.os.ResultReceiver$MyResultReceiver

合并dex时出错以下是依赖项。ext{anko_version='0.10.5'support_lib='1.0.0-alpha1'room_lib="1.1.0"}dependencies{implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"implementation"androidx.cardview:cardview:$support_lib"implementation"com.google.android.material:material:$support_lib"implement