An Android project package name that uniquely identifies an app.
Questions tagged [package-name]
165 questions
59
votes
6 answers
How to get bundle id in flutter
I used the below method to get the app name and packageName but I need Bundle id for iPhone users.
I want to share an app link.
I did it in android but on iPhone, I need bundle id.
Future _initPackageInfo() async {
final PackageInfo…

Vithani Chandresh
- 781
- 1
- 6
- 9
14
votes
4 answers
Valid name for Android Package Name
If I own a domain name like e.g Dan-Carlos.com
Does the andoid package name allow use like com.dan-carlos.com?
I have not tried using it but I am curious if anyone tried domain name with hyphen '-' in it.

anwarma
- 2,005
- 5
- 21
- 21
10
votes
2 answers
Android Navigation And Gradle 7.3.3 namespace Kapt Plugin Generated Directions Fail To Resolve Resources
Since the new Android Studio Version "Chipmunk" the Gradle update helper suggests that you remove the package keyword from the AndroidManifest.xml and instead use a object namespace in the android block inside the app-level build.gradle.
However,…

J. Hegg
- 1,365
- 11
- 31
9
votes
1 answer
Can the bundle-Identifiers of iOS and Android differ on Flutter?
I uploaded a test-release for an App on both iOS & Android on AppStore/GooglePlay using their respective native programs. In other words I reserved their bundle-identifiers string.
Now I'm trying to code the App using Flutter, which is freshly new…

Apython
- 453
- 6
- 19
8
votes
0 answers
E/AppWidgetHostView: Package name not found
I write an android App Widget and it works fine. After some time I had to change its package name But it works well yet. I already had getPackageName, and it prints the correct package name in the log, and still sometimes after I upgrade the app…

faeze saghafi
- 650
- 10
- 25
7
votes
5 answers
Generate apk name as package name in Android Studio
Android studio will generate default apk name as app-(release|debug).apk.
How to generate apk file name same as package name of the app like com.example-debug.apk.

Bangaram
- 105
- 1
- 6
6
votes
4 answers
In Go does the package name have to be identical to inner-most directory name?
ATTENTION this question is about Go language specs not best practice or recommendation.
I have read many articles of packages but I still don't quite understand the relationship of directory and package name. Here is my example.
My project structure…

Peiti Li
- 4,634
- 9
- 40
- 57
6
votes
2 answers
Dynamically getting android lock screen package name
I need to get package name of android lock screen activity. I have googled found nothing except https://stackoverflow.com/a/16881064/2803557 which doesn't seem to work.
Is there any way to get lock screen package name

Skyyy
- 1,539
- 2
- 23
- 60
6
votes
1 answer
Replace Android app that has the same package name but new keystore
We lost the keystore file for our Android application... And would like to replace the current application with a new app signed with a different keytore from the original app. If we unpublish the app, is it possible to upload the new app with same…

trevligheten
- 306
- 2
- 13
5
votes
1 answer
Samsung Store Apps Installer Package name
As Google and Amazon return com.android.vending and com.amazon.veneziarespectively for
val pm = packageManager
val installer = pm.getInstallerPackageName(packageName)
What will be the check to find whether the app is installed from a Samsung store?

g7pro
- 817
- 1
- 6
- 11
5
votes
2 answers
How to get packagename of aar file?
I'm creating an aar library and i need to get aar packagename for having sign of aar file.
i'm trying below code, but getPackageName() method didn't return aar packagename
Signature[] sigs =…

Milad Bahmanabadi
- 946
- 11
- 27
5
votes
2 answers
Best practice Android package name and IOS bundleID
Hi I am developing an Android app and one IOS app.
My question is regarding the Android package name and the IOS bundleID.
Is it best practice to use the same value on both platforms like "com.mysite.myapp"? or should I use different values for…

Tech Labradoodle
- 667
- 6
- 16
5
votes
1 answer
Android maven plugin: renameManifestPackage results in Resources$NotFoundException
I encountered the following problem:
The app I implemented includes another project as a dependency (of type aar). Both projects share the same parent pom. The dependency includes resources, which the app is using. To access the resources within the…

phil155
- 75
- 6
5
votes
1 answer
Golang: "package ast_test" underscore test
Source file from Golang's stdlib
File's base directory: ast
Package specified in the file: ast_test ???
Package specified in all other files inside the same directory: ast
From golang.org:
src contains Go source files organized into packages (one…

xged
- 1,207
- 1
- 14
- 20
4
votes
1 answer
What should I put for "company domain" in Android Studio if I do not have a company?
I'm beginning my first Android app. I want to make a simple photo sharing app. Will I need to create a company before publishing my app to Google Play? Is it possible to create, manage, own, and deal with issues without creating a company?

DarthVoid
- 604
- 3
- 9
- 21