shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.54k stars 1.54k forks source link

打包报错 #393

Closed Yanren1225 closed 4 years ago

Yanren1225 commented 4 years ago
Could not open init remapped class cache for 9bbaqp2sgtpoz1dwcumqbqtxg (C:\Users\nihao\.gradle\caches\5.4.1\scripts-remapped\ijresolvers_km5vxnkinwij7j7v1c1wy3hm\9bbaqp2sgtpoz1dwcumqbqtxg\initdcd040730888da95d185715568c9cc57).
> Could not open init generic class cache for initialization script 'C:\Users\nihao\AppData\Local\Temp\ijresolvers.gradle' (C:\Users\nihao\.gradle\caches\5.4.1\scripts\9bbaqp2sgtpoz1dwcumqbqtxg\init\initdcd040730888da95d185715568c9cc57).
   > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 57

使用的版本如下

 dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.17'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
simpleton commented 4 years ago

看起来好像和Andresgaurd无关,可否提供一下backtrace?

On Mon, Dec 9, 2019 at 4:20 AM Haocun Ni notifications@github.com wrote:

Could not open init remapped class cache for 9bbaqp2sgtpoz1dwcumqbqtxg (C:\Users\nihao.gradle\caches\5.4.1\scripts-remapped\ijresolvers_km5vxnkinwij7j7v1c1wy3hm\9bbaqp2sgtpoz1dwcumqbqtxg\initdcd040730888da95d185715568c9cc57).

Could not open init generic class cache for initialization script 'C:\Users\nihao\AppData\Local\Temp\ijresolvers.gradle' (C:\Users\nihao.gradle\caches\5.4.1\scripts\9bbaqp2sgtpoz1dwcumqbqtxg\init\initdcd040730888da95d185715568c9cc57).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 57

使用的版本如下

dependencies {

    classpath 'com.android.tools.build:gradle:3.5.0'

    classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.17'

    // NOTE: Do not place your application dependencies here; they belong

    // in the individual module build.gradle files

}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shwenzhang/AndResGuard/issues/393?email_source=notifications&email_token=AADO6YXIBMHJOB7GGOWZQ23QXYZZNA5CNFSM4JYIH662YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H7B2ZDA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADO6YTPMUURQMK6PTZUW23QXYZZNANCNFSM4JYIH66Q .

Yanren1225 commented 4 years ago

看起来好像和Andresgaurd无关,可否提供一下backtrace? On Mon, Dec 9, 2019 at 4:20 AM Haocun Ni @.***> wrote: Could not open init remapped class cache for 9bbaqp2sgtpoz1dwcumqbqtxg (C:\Users\nihao.gradle\caches\5.4.1\scripts-remapped\ijresolvers_km5vxnkinwij7j7v1c1wy3hm\9bbaqp2sgtpoz1dwcumqbqtxg\initdcd040730888da95d185715568c9cc57). > Could not open init generic class cache for initialization script 'C:\Users\nihao\AppData\Local\Temp\ijresolvers.gradle' (C:\Users\nihao.gradle\caches\5.4.1\scripts\9bbaqp2sgtpoz1dwcumqbqtxg\init\initdcd040730888da95d185715568c9cc57). > BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 57 使用的版本如下 dependencies { classpath 'com.android.tools.build:gradle:3.5.0' classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.17' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#393?email_source=notifications&email_token=AADO6YXIBMHJOB7GGOWZQ23QXYZZNA5CNFSM4JYIH662YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H7B2ZDA>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADO6YTPMUURQMK6PTZUW23QXYZZNANCNFSM4JYIH66Q .

是怎样操作呢?没用过这个