使用Firebase时适用于Android应用程序的SDK,我不断收到此类警告和错误(在Eclipse中):Warning...can'tfindreferencedclass...Warning:therewere...unresolvedreferencestoclassesorinterfaces...Youmayneedtospecifyadditionallibraryjars(using'-libraryjars')...很遗憾,Firebase没有任何关于其与ProGuard一起使用的官方文档。在使用ProGuard进行混淆时,我的应用需要哪些指令才能使用Firebase
使用Firebase时适用于Android应用程序的SDK,我不断收到此类警告和错误(在Eclipse中):Warning...can'tfindreferencedclass...Warning:therewere...unresolvedreferencestoclassesorinterfaces...Youmayneedtospecifyadditionallibraryjars(using'-libraryjars')...很遗憾,Firebase没有任何关于其与ProGuard一起使用的官方文档。在使用ProGuard进行混淆时,我的应用需要哪些指令才能使用Firebase
我正在尝试使用proguard来删除我的所有日志:我在proguard-project.txt中输入了以下行:-assumenosideeffectsclassandroid.util.Log{*;}我的project.properties看起来像这样:proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt尽管如此,日志继续显示在我的应用程序中。我到底做错了什么? 最佳答案 您不应该指定“*”通配符,因为它包括像“Ob
我正在尝试使用proguard来删除我的所有日志:我在proguard-project.txt中输入了以下行:-assumenosideeffectsclassandroid.util.Log{*;}我的project.properties看起来像这样:proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt尽管如此,日志继续显示在我的应用程序中。我到底做错了什么? 最佳答案 您不应该指定“*”通配符,因为它包括像“Ob
当我在启用Proguard的情况下编译我的Android应用程序时,我收到以下错误:-dex:[echo]Convertingcompiledfilesandexternallibrariesinto/home/ka/dev/workspace/ImPress/build/classes.dex...[apply][apply]UNEXPECTEDTOP-LEVELEXCEPTION:[apply]com.android.dx.cf.code.SimException:localvariabletypemismatch:attempttosetoraccessavalueoftypej
当我在启用Proguard的情况下编译我的Android应用程序时,我收到以下错误:-dex:[echo]Convertingcompiledfilesandexternallibrariesinto/home/ka/dev/workspace/ImPress/build/classes.dex...[apply][apply]UNEXPECTEDTOP-LEVELEXCEPTION:[apply]com.android.dx.cf.code.SimException:localvariabletypemismatch:attempttosetoraccessavalueoftypej
我不知道该如何描述这个问题。我搜索了很多,但没有找到任何解决方案。这个解决方案也没有帮助我-keepattributesEnclosingMethod:dependencies{compileproject(':libraries:material-drawer')compilefileTree(dir:'libs',include:['*.jar'])testCompile'junit:junit:4.12'compile'com.android.support:appcompat-v7:23.2.0'compile'com.android.support:recyclerview-
我不知道该如何描述这个问题。我搜索了很多,但没有找到任何解决方案。这个解决方案也没有帮助我-keepattributesEnclosingMethod:dependencies{compileproject(':libraries:material-drawer')compilefileTree(dir:'libs',include:['*.jar'])testCompile'junit:junit:4.12'compile'com.android.support:appcompat-v7:23.2.0'compile'com.android.support:recyclerview-
当我禁用Proguard时,它正常起作用,但是当启用Proguard时,它将引发一个例外:java.lang.IllegalStateException:FatalExceptionthrownonScheduler.Workerthread.这是我的代码:privatefungetData(email:String){mSubscriptions!!.add(NetworkUtil.retrofit.getProfile(email).observeOn(AndroidSchedulers.mainThread()).subscribeOn(Schedulers.io()).subscrib
已结束。此问题不符合StackOverflowguidelines.它目前不接受答案。要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于StackOverflow来说是无关紧要的,因为它们往往会吸引固执己见的答案和垃圾邮件。相反,describetheproblem以及到目前为止为解决这个问题所做的工作。关闭9年前。Improvethisquestion这与这些最近的问题类似:BestJavaObfuscationApplicationForSizeReductionCreatingnon-reverse-engineerableJavaprograms但是,一个人最终推荐了yGu