Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Package contains directories which cannot be renamed

I am trying to get my app ready for alpha testing and am struggling to rename my project packages - as it would appear that com.android is a restricted package name - however when following the instructions outlined here I get the following message:enter image description here - I'm...not sure what to do here as this window differs from what is given in the instructions. Has anyone encountered this and is able to help me?

like image 663
secondubly Avatar asked Mar 23 '18 02:03

secondubly


1 Answers

I found the trick/method for changing project package name after wasting $12 on the fiverr. This method works for me in Android Studio 4.0.

You just need to change this line only in build.gradle(app level).

applicationId "codetrix.cleaner"

Just change the text in " " quotes. Your new package will be your updated text.

like image 158
Tariq Mahmood Avatar answered Oct 12 '22 04:10

Tariq Mahmood