No release bundle folder after upgrading Android Studio

前端 未结 2 1571
悲&欢浪女
悲&欢浪女 2020-12-30 14:45

I recently upgraded my Android Studio to version 2.3 with the corresponding gradle version.

I have two modules inside my projec

相关标签:
2条回答
  • 2020-12-30 15:06

    Not sure if this is the proper solution but I added this to my gradle file within the android section and the release folder has returned.

    publishNonDefault true
    
    0 讨论(0)
  • 2020-12-30 15:10

    On Android studio 3.1+ the build path got changed. So change the path to "build/intermediates/packaged-classes/release/".

    task exportJar(type: Copy)
    {
        from('build/intermediates/packaged-classes/release/')
        into('build/outputs/')
        include('classes.jar')
        rename ('classes.jar', 'NAME.jar')
    }
    
    0 讨论(0)
提交回复
热议问题