Questions tagged [package-name]

An Android project package name that uniquely identifies an app.

165 questions
2
votes
1 answer

How to change android app package name in fabrics dashboard for crashlytics

I was using crashlytics by fabric in my android app. While publishing app to playstore,i changed my android app package name. Now i want to change package name for the app in fabrics dashboard. Any ideas how to do this?
2
votes
2 answers

Can't find build.gradle (Module app) in Android Studio project imported from Eclipse

I'm new to android and I imported a project from eclipse. I need to edit the package name in defaultConfig in build.gradle (Module app) code and I just can't find it anywhere.. Here's a snapshot of the project in AS Any suggestions?
Saif Badran
  • 326
  • 4
  • 14
2
votes
2 answers

Custom implementation of specfic files using productFlavors in Android

I added a new flavor in my Build.Gradle :: productFlavors { pro{ applicationIdSuffix ".pro" //newpackagename=com.example1.android.pro } } My android app structure: …
2
votes
4 answers

How important is Android Package name?

I have app development company to build my app, and recently when we published the app I noticed the Package name is "com.developers_company.myapp_name" How important is it to change this to "com.myapp_name"? And should I insist on this or keep it…
2
votes
1 answer

What should be the package name in main/AndroidManifest.xml when dealing with product flavors?

I have two product flavors in my build.gradle which are as follows: apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "23.0.2" aaptOptions.setProperty("cruncherEnabled", false) defaultConfig…
2
votes
0 answers

Groovy uses prohibited package name

I've installed groovy on my OS X via terminal and I can't run anything. The following exception occurs: java.lang.SecurityException: Prohibited package name: java.lang at java.lang.ClassLoader.preDefineClass(ClassLoader.java:659) at…
Maxim Blumental
  • 763
  • 5
  • 26
2
votes
0 answers

Android studio : can't rename a package to add subname

I want to renanme a package from com.myexample.demo to com.myexample.demo.sub1 in android studio , I chose refactor --rename , I got com.myexample.sub1. But I really want to get com.myexample.demo.sub1. need your help!
Blues
  • 93
  • 6
2
votes
5 answers

Add new package name to existing project

I'm developing an app at Android Studio. I changed a package name of my application and able to do so but my aim is to add a new package name to the existing project. As you see in image below, I am able to change com.app.company.testapp but I want…
salih
  • 727
  • 13
  • 36
2
votes
1 answer

After package name change the project still uses old package name for launching the application

I changed the package name of android application recently. The package name of the changed project is correct. I used this approach for package name changing. I made sure the package-name change is the recent one in Manifest. But while launching…
Durai Amuthan.H
  • 31,670
  • 10
  • 160
  • 241
2
votes
1 answer

How to get the package name of an external app which calls my app

My app com.test.sample is invoked by an external app com.testExternal.outsideApp. The external app uses an intent to invoke the MainActivity of com.test.sample by calling the startActivityForResult. What I am looking for is a way to programmatically…
paddy
  • 47
  • 7
2
votes
1 answer

Xamarin.Android edit apk package name with ApkTool causes crash

I need to be able to change out the package name of an existing .apk in order to run simultaneous instances of an Android app I created in Visual Studio using Xamarin. However, I will not reliably have access to the computer with the Xamarin license…
Dkal
  • 33
  • 4
2
votes
1 answer

change package name back to (default package)?

In Eclipse, After importing a project, the packages and subpackages somehow became renamed. for example: Original project package naming before import: (default package) foo.bar.dog foo.bar.cat foo.bar.horse After…
Ryan Maddox
  • 312
  • 1
  • 5
  • 15
2
votes
1 answer

Dynamically generate package name for multi-flavors configuration

I have Gradle Android project that will be used for several customers. Also it will have free and paid version. I realized that it can be achieved by using flavorDimensions. But the problem is that I want to have a method to generate package name…
Yuriy
  • 1,466
  • 2
  • 14
  • 30
2
votes
1 answer

Android: how to verify package is genuine

In one of my apps, I would like to detect if the user has got another app of mine installed. This code works: PackageManager pm = mAppContext.getPackageManager(); try { pm.getPackageInfo("com.example.packagename",…
Daniele B
  • 19,801
  • 29
  • 115
  • 173
2
votes
1 answer

Google Play rejects APK based on package name

Been building an app within MIT's App Inventor (herecy on this site I know.) I uploaded the first version to Google Play yesterday and all went smoothly. Tried to push a new APK to production this morning but got this…
schtocker
  • 35
  • 5
1 2
3
10 11