android studio build apk 报错,Android,android-studio_android studio 能通过Clean和Rebuild,但在联手机测试时和Build ap...

android studio 能通过Clean和Rebuild,但在联手机测试时和Build apk时报错

Information:Gradle tasks [:app:assembleDebug]

:app:preBuild UP-TO-DATE

:app:preDebugBuild UP-TO-DATE

:app:checkDebugManifest

:app:preReleaseBuild UP-TO-DATE

:app:prepareComAndroidSupportAnimatedVectorDrawable2511Library UP-TO-DATE

:app:prepareComAndroidSupportAppcompatV72511Library UP-TO-DATE

:app:preDebugAndroidTestBuild UP-TO-DATE

:app:prepareComAndroidSupportMultidex101Library UP-TO-DATE

:app:prepareComAndroidSupportSupportCompat2511Library UP-TO-DATE

:app:prepareComAndroidSupportSupportCoreUi2511Library UP-TO-DATE

:app:prepareComAndroidSupportSupportCoreUtils2511Library UP-TO-DATE

:app:prepareComAndroidSupportSupportFragment2511Library UP-TO-DATE

:app:prepareComAndroidSupportSupportMediaCompat2511Library UP-TO-DATE

:app:prepareComAndroidSupportSupportV42511Library UP-TO-DATE

:app:prepareComAndroidSupportSupportVectorDrawable2511Library UP-TO-DATE

:app:prepareDebugDependencies

:app:compileDebugAidl UP-TO-DATE

:app:compileDebugRenderscript UP-TO-DATE

:app:generateDebugBuildConfig UP-TO-DATE

:app:generateDebugAssets UP-TO-DATE

:app:mergeDebugAssets UP-TO-DATE

:app:generateDebugResValues UP-TO-DATE

:app:generateDebugResources UP-TO-DATE

:app:mergeDebugResources UP-TO-DATE

:app:processDebugManifest UP-TO-DATE

:app:processDebugResources UP-TO-DATE

:app:generateDebugSources UP-TO-DATE

:app:compileDebugJavaWithJavac UP-TO-DATE

:app:compileDebugNdk UP-TO-DATE

:app:compileDebugSources UP-TO-DATE

:app:transformClassesWithJarMergingForDebug UP-TO-DATE

:app:collectDebugMultiDexComponents UP-TO-DATE

:app:transformClassesWithMultidexlistForDebug

ProGuard, version 5.2.1

Reading program jar [C:UsersAdministratorAndroidStudioProjectsTestappbuildintermediatestransformsjarMergingdebugjars11fcombined.jar]

Reading library jar [D:AndroidStudiosdkbuild-tools25.0.2libshrinkedAndroid.jar]

Note: android.support.v4.view.ViewPager calls 'Class.getAnnotation'

Note: android.support.v4.app.NotificationCompatJellybean calls 'Field.getType'

Note: android.support.v4.app.NotificationCompatJellybean: can't find dynamically referenced class android.app.Notification$Action

Note: android.support.v4.media.ParceledListSliceAdapterApi21: can't find dynamically referenced class android.content.pm.ParceledListSlice

Note: android.support.v4.text.ICUCompatApi23: can't find dynamically referenced class libcore.icu.ICU

Note: android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU

Note: android.support.v7.app.ResourcesFlusher: can't find dynamically referenced class android.content.res.ThemedResourceCache

Note: android.support.v7.widget.DrawableUtils: can't find dynamically referenced class android.graphics.Insets

Note: android.support.multidex.MultiDexExtractor accesses a method 'apply()' dynamically

Note: android.support.v4.app.NotificationCompatJellybean accesses a declared field 'icon' dynamically

Maybe this is program field 'android.support.v4.app.NotificationCompat$Action { int icon; }'

Maybe this is program field 'android.support.v7.appcompat.R$attr { int icon; }'

Maybe this is program field 'android.support.v7.appcompat.R$id { int icon; }'

Maybe this is program field 'com.example.administrator.test.R$attr { int icon; }'

Maybe this is program field 'com.example.administrator.test.R$id { int icon; }'

Note: android.support.v4.app.NotificationCompatJellybean accesses a declared field 'title' dynamically

Maybe this is program field 'android.support.v4.app.NotificationCompat$Action { java.lang.CharSequence title; }'

Maybe this is program field 'android.support.v7.appcompat.R$attr { int title; }'

Maybe this is program field 'android.support.v7.appcompat.R$id { int title; }'

Maybe this is program field 'com.example.administrator.test.R$attr { int title; }'

Maybe this is program field 'com.example.administrator.test.R$id { int title; }'

Note: android.support.v4.app.NotificationCompatJellybean accesses a declared field 'actionIntent' dynamically

Maybe this is program field 'android.support.v4.app.NotificationCompat$Action { android.app.PendingIntent actionIntent; }'

Note: android.support.v4.app.NotificationManagerCompatKitKat accesses a declared field 'OP_POST_NOTIFICATION' dynamically

Maybe this is program field 'android.support.v4.app.NotificationManagerCompatKitKat { java.lang.String OP_POST_NOTIFICATION; }'

Note: android.support.v4.media.session.MediaSessionCompatApi24 accesses a method 'getCallingPackage()' dynamically

Maybe this is program method 'android.support.v4.app.ShareCompat$IntentReader { java.lang.String getCallingPackage(); }'

Maybe this is program method 'android.support.v4.media.session.MediaSessionCompat { java.lang.String getCallingPackage(); }'

Maybe this is program method 'android.support.v4.media.session.MediaSessionCompat$MediaSessionImpl { java.lang.String getCallingPackage(); }'

Maybe this is program method 'android.support.v4.media.session.MediaSessionCompat$MediaSessionImplApi21 { java.lang.String getCallingPackage(); }'

Maybe this is program method 'android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase { java.lang.String getCallingPackage(); }'

Note: android.support.v4.text.ICUCompatApi23 accesses a method 'addLikelySubtags(java.util.Locale)' dynamically

Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String addLikelySubtags(java.util.Locale); }'

Note: android.support.v4.text.ICUCompatIcs accesses a method 'getScript(java.lang.String)' dynamically

Maybe this is program method 'android.support.v4.text.ICUCompatIcs { java.lang.String getScript(java.lang.String); }'

Note: android.support.v4.text.ICUCompatIcs accesses a method 'addLikelySubtags(java.lang.String)' dynamically

Note: android.support.v7.app.ResourcesFlusher accesses a declared field 'mDrawableCache' dynamically

Note: android.support.v7.app.ResourcesFlusher accesses a declared field 'mUnthemedEntries' dynamically

Note: android.support.v7.widget.DrawableUtils accesses a method 'getOpticalInsets()' dynamically

Note: android.support.v7.widget.ViewUtils accesses a method 'makeOptionalFitsSystemWindows()' dynamically

Note: there were 1 classes trying to access annotations using reflection.

You should consider keeping the annotation attributes

(using '-keepattributes *Annotation*').

(http://proguard.sourceforge.net/manual/troubleshooting.html#attributes)

Note: there were 1 classes trying to access generic signatures using reflection.

You should consider keeping the signature attributes

(using '-keepattributes Signature').

(http://proguard.sourceforge.net/manual/troubleshooting.html#attributes)

Note: there were 6 unresolved dynamic references to classes or interfaces.

You should check if you need to specify additional program jars.

(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)

Note: there were 13 accesses to class members by means of introspection.

You should consider explicitly keeping the mentioned class members

(using '-keep' or '-keepclassmembers').

(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclassmember)

Note: you're ignoring all warnings!

Preparing output jar [C:UsersAdministratorAndroidStudioProjectsTestappbuildintermediatesmulti-dexdebugcomponentClasses.jar]

Copying resources from program jar [C:UsersAdministratorAndroidStudioProjectsTestappbuildintermediatestransformsjarMergingdebugjars11fcombined.jar]

:app:transformClassesWithMultidexlistForDebug FAILED

Error:Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:Program FilesJavajdk1.7.0_79binjava.exe'' finished with non-zero exit value 1

Information:BUILD FAILED

Information:Total time: 4.3 secs

Information:1 error

Information:0 warnings

Information:See complete output in console

相关阅读:

python中,使用pip install PIL 出现问题could not find a version

跨域如何关闭iframe父窗口。

如何使用scroll.js使左右两栏都可以上下滑动,如图

php为什么运行了一段时间后才报内存溢出?

win10下cmd输出系统环境变量因为有空格而只显示空格前面的部分

docker不显示端口映射呢?

如何做一個完整的圓?裡面顯示數字

如何解决chrome中文字体无法正常显示?

linux 重新挂载目录

sysbench 测mutex具体原理是什么

redmin安装过过程中的坑,求填。

antd 的Input 组件如何取值

如何遍历对象中的属性

用new实例化一个对象时,this指针的绑定--读《JavaScript语言精粹》P47疑惑

spring boot 怎样通过url直接显示自己创建的文件夹中的图片文件

swiper怎么阻止第一屏向右滑动,不然会出现左边留白的问题

为什么单个php请求在linux下会比win下内存占用小很多?

svg如何做到一组动画循环

做javaee开发,现在很多项目是前后端分离,有必要深入js,css等等吗?当然js,jq基础还是会的

中小型项目中nginx、php-fpm、php其中有哪些配置用的比较多且重要且需要关注???

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值