Questions tagged [package-name]

An Android project package name that uniquely identifies an app.

165 questions
3
votes
1 answer

Data binding not working with Capital Letter package name

I have a Android project who's package name is kind of like this com.example.MyPackage where as MyPackage has two capital letters M and P, Due to them i am not able to use data binding. When i add data binding and build my project it says not able…
3
votes
2 answers

Package 'com.class.xxx.test' from AndroidManifest.xml is not a valid Java package name as 'class' is a Java keyword

I am new to espresso testing in android. When I try to build test apk I am getting this error: Package 'com.class.xxx.test' from AndroidManifest.xml is not a valid Java package name as 'class' is a Java keyword. Is there any possible way to change…
AzAz
  • 43
  • 1
  • 3
3
votes
2 answers

How to change package name already taken in Google Play but not published yet

I have set up a package name like "com.correct.aaa" for my new app in Google Play. But after I uploaded apk with wrong packege name like "com.wrong.bbb", google play takes my wrong package name, and replace over the old one... When I re-upload a new…
Pin Shih Wang
  • 53
  • 1
  • 6
3
votes
1 answer

Android: Two applications have same package name. How to differentiate them?

I'm trying to get every launchable applications in my device using this method: apps = new ArrayList<>(); Intent intent = new Intent(Intent.ACTION_MAIN, null); intent.addCategory(Intent.CATEGORY_LAUNCHER); List availableActivities =…
AhmadF
  • 143
  • 10
3
votes
1 answer

APT: error: attribute 'package' in tag is not a valid Java package name: 'com.mypackage.name_.app'

I have an app which I'm trying to compile with my original package name, very similar to this: com.mypackage.name_.app' The app compiled successfully until now, which I migrated to the newest versions of Gradle and I'm compiling with API 24.…
3
votes
3 answers

How to get the package name of the app running in android

I want to know how to get the package name when I open an app, for instance when I open Facebook I should get its package name and when I open another app I should get its package name how do I do this?
Ciddarth Raaj
  • 55
  • 1
  • 6
3
votes
1 answer

Alter Android Package Names for Free & Paid App Flavors in Git

I develop two versions of the same app: free and paid one. Both branches based on "master" branch in Git. Sometimes I merge master branch into "free" and "paid" branches to keep them up-to-date. But it is necessary for the free and payed apps to…
Scit
  • 1,722
  • 4
  • 15
  • 18
3
votes
0 answers

In React Native, how to use sub package name for Android, like com.foo.bar?

I would like to change my React Native android app package name to something like com.foo.bar but it only allows for com.foo and things are broken when I change. Is there a proper way to change it to use sub package name? Thanks.
burakcalik
  • 137
  • 3
  • 12
3
votes
1 answer

Package names in Android studio when dev name starts with a number?

I want to create apps under my company's name and Android Studio recommends using your domain, eg: domain: example.com App: myApp gives a package name of com.example.myApp That's all fine, but my company name begins with a number and Android Studio…
Quentin
  • 49
  • 1
  • 7
2
votes
1 answer

React Native: Can bundle ID and package name be different?

In my React Native app, the bundle ID (iOS) and package name (Android) are currently the same, but I need to change the package name because I need to create a new app shell on the Google Play console and push my app there. Is it possible to have a…
2
votes
1 answer

Get the Application Package name in template Wizard recipe class Intellij

Get the Application Package name in template recipe class I am working on MVVM plugin template for android studio. I completed most of the work. But now I only need to get the application package name. Their is a method getPackageName(module:…
2
votes
1 answer

Which is right package name for my Flutter app?

I need package name of my Flutter app to use Firebase. And to my knowledge, package name is something like this: com.companyname.appname, but inside my android > app > build.gradle, application Id is: com.companyname.myapp.my_app. Which one is right…
Superjay
  • 447
  • 1
  • 7
  • 25
2
votes
0 answers

How to get the packagename /url of application in google play store with token

I have clientId and refreshtoken, Is there any api available to find the packagename/url of the applications in google play store it has access to?
kaushik
  • 556
  • 1
  • 7
  • 22
2
votes
1 answer

React native: Cannot change package name - always failing

at the moment I am facing a problem which I try to solve since 3 days already.. I want to rename my package name for my react native android application. So, to be completely sure I am doing everything correct I have created a new project and tried…
Jan
  • 1,180
  • 3
  • 23
  • 60
2
votes
1 answer

Getting the Package name using an App name

I have already looked around and what I've seen was getting the package names or getting the App names and storing it in an Array List. But what if I have an Array list of App names and I would like to get their package name counterpart ? how do I…
ZYX
  • 23
  • 7
1
2
3
10 11