简体   繁体   中英

android studio - package rename returns error

I changed my project package name using refactor option. Renaming was successful but when i compiled it, it returned the following error

Error:Execution failed for task ':compilePlayDebugAidl'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\\Users\\username\\AppData\\Local\\Android\\sdk\\build-tools\\23.0.1\\aidl.exe'' finished with non-zero exit value 1

How can i solve it?

PS: I have also changed the applicationID in build.gradle

I had the same error some time ago. Try the following:

  • Build --> Clean Project
  • Build --> Rebuild Project

Try to undo your changes and keep trying to compile it. If your project compiles at a specific point, make sure to let us know!

Cheers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM