Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the application id from inside a library using my project?

How can I get the application ID from the application using my library using gradle?

Or any way to put it inside a xml file.

like image 315
kaneda Avatar asked Oct 02 '15 14:10

kaneda


People also ask

How to find application id in Android studio?

Android. We use the Application ID (package name) to identify your app inside our system. You can find this in the app's Play Store URL after 'id'. For example, in https://play.google.com/store/apps/details?id=com.company.appname the identifier would be com.

What would be the default application ID for your project?

Every Android app has a unique application ID that looks like a Java package name, such as com. example. myapp. This ID uniquely identifies your app on the device and in Google Play Store.

What is an application ID?

Application ID means an application identifier used to tag specific routing applications within the Customer'sRouting Plan.


1 Answers

Only Android application project can contain the applicationId property in app build.gradle file.

Android Library project must not contain the applicationId property in app build.gradle file. so there is no way to retrieve the application id from the library.

like image 135
Logo Avatar answered Nov 11 '22 23:11

Logo