Android Studio 1.0 and error “Library projects cannot set applicationId”

后端 未结 4 864
北恋
北恋 2020-12-07 19:46

After updating Android Studio to 1.0, I see this error:

Error: Library projects cannot set applicationId. applicationId is set to \'com

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-07 20:23

    Just incase it helps some one :

    When i imported an eclipse project into android studio,i got an error ::

    "Error:Application and test application id cannot be the same"

    Strange though,but i looked into the build.gradle and found the two placeholders,one for the application and other for testapplication.

    I removed the testApplicationId from that as is suggested in this post and this helped me resolve the issue.

    Note: This explaination is not related to the errors posted in this question,but might help someone who is getting a similar error.

提交回复
热议问题