V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
nextdiscover
V2EX  ›  Android

设置了 gradle 还是报错 Cannot load Jill from build tools.求解答

  •  1
     
  •   nextdiscover · 2018-09-12 23:14:20 +08:00 · 7176 次点击
    这是一个创建于 2024 天前的主题,其中的信息可能已经有所发展或是发生改变。

    android { compileSdkVersion 28 buildToolsVersion "28.0.0" defaultConfig { applicationId "com.XX.XXXXX" minSdkVersion 15 targetSdkVersion 28 versionCode 1 versionName "1.0" multiDexEnabled true jackOptions { enabled true } //Make jack build tool true. useJack true ndk {//设置支持的 SO 库架构 abiFilters "armeabi-v7a" } } dexOptions { javaMaxHeapSize "4g" preDexLibraries = false//关闭 odex 优化 }

    4 条回复    2018-11-09 10:33:11 +08:00
    nextdiscover
        1
    nextdiscover  
    OP
       2018-09-12 23:14:53 +08:00
    android {
    compileSdkVersion 28
    buildToolsVersion "28.0.0"
    defaultConfig {
    applicationId "com.tk.huifangou"
    minSdkVersion 15
    targetSdkVersion 28
    versionCode 1
    versionName "1.0"
    multiDexEnabled true
    jackOptions {
    enabled true
    }
    //Make jack build tool true.
    useJack true
    ndk {//设置支持的 SO 库架构
    abiFilters "armeabi-v7a"
    }
    }
    dexOptions {
    javaMaxHeapSize "4g"
    preDexLibraries = false//关闭 odex 优化
    }
    RockOrRoll
        2
    RockOrRoll  
       2018-09-13 09:23:23 +08:00 via Android
    jack jill 不是被废弃了么
    nextdiscover
        3
    nextdiscover  
    OP
       2018-09-16 10:16:08 +08:00
    @RockOrRoll 不是 studio 新版本刚加上的吗
    kingvieri
        4
    kingvieri  
       2018-11-09 10:33:11 +08:00
    @nextdiscover 最后解决了吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2882 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:34 · PVG 19:34 · LAX 04:34 · JFK 07:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.