FileNotFoundException on proguard-rules.pro file

前端 未结 6 1240
逝去的感伤
逝去的感伤 2021-01-17 19:05

I\'m using Android Studio v.1.0 My build file :

  buildTypes {

    debug {
        minifyEnabled false
        proguardFiles getDefaultProguardFile(\'prog         


        
6条回答
  •  一向
    一向 (楼主)
    2021-01-17 20:08

    A workaround is to download one of the following:

    http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
    http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
    http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
    

    And copy over the following files:

    tools/hprof-conv
    tools/support/annotations.jar
    tools/proguard
    

提交回复
热议问题