Long package name build error in Android Studio

前端 未结 2 1518
清歌不尽
清歌不尽 2021-01-25 19:36

The package name of my app is very long:

app.running.com.voice.and.service.song.backup.audio.run.inthe.background

This is a B2B project and I c

2条回答
  •  花落未央
    2021-01-25 20:05

    package name don't have anything wrong with it as far as i know
    as log say's error is at \build\generated my first suggestion is to clean project with command

    $ gradlew clean 
    

    at root of your project if it's unable to clean delete manually

    • android/build
    • android/app/build

    don't worry the are generated files . then type in root of project

    $ gradlew build
    

    be sure your connected to internet to get needed lib from maven or etc.

提交回复
热议问题