search

Home  >  Q&A  >  body text

android-studio - android studio 打包成带签名的APK报错

这个错误怎么解决?

PHP中文网PHP中文网2771 days ago624

reply all(7)I'll reply

  • 高洛峰

    高洛峰2017-04-18 09:15:42

    In many cases, the third-party SDK code is poorly written and can be ignored

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:15:42

    These are Warnings, the new version of gradle will report them, and the final compilation will be successful

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-18 09:15:42

    Same problem as you, the reason is dependencies {

    compile fileTree(include: ['*.jar'], dir: 'libs')
    //  testCompile 'junit:junit:4.12'
    //compile 'com.android.support:support-v4:19.1.0'
    compile 'com.android.support:appcompat-v7:23.3.0'
    //   compile 'com.android.support:design:24.2.1'
    //compile 'com.itextpdf:itextg:5.5.9'
    compile files('libs/iTextpdf.jar')
    compile files('libs/universal-image-loader-1.9.5.jar')
    compile files('libs/pushservice-5.3.0.99.jar')
    compile files('libs/iAppPDF.jar')

    }
    Here you should check the dependency issues carefully. I'll solve it.

    reply
    0
  • 黄舟

    黄舟2017-04-18 09:15:42

    The information given is too little, so I can’t confirm what the problem is

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 09:15:42

    I just want to see if there is success in the end. If it succeeds, I don’t care. My experience is confusing configuration file issues.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:15:42

    It depends on whether it is BUILD SUCCESSFUL in the end. If so, these can be ignored. These are basically lint warnings and generally do not affect apk generation. However, there are some situations, such as FC during the running of the generated apk. You need to check the proguard configuration to see if If there is a problem with the confusion rules, make changes.

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 09:15:42

    Although this answer is nonsense, when I encounter it, I just click Run a few times and it goes away

    reply
    0
  • Cancelreply