android-manifest

how to sync a repo mirror to a new upstream repo

大城市里の小女人 提交于 2019-12-24 02:33:44
问题 I have a repo mirror server (myrepo) that was originally created to mirror and sync with a remote (repoA). That is, I used something like the following to create it. cd myrepo repo init -u git://repoA-server/manifest.git --mirror repo sync ...then I modified manifest file's fetch line to use myrepo server so users can clone from myrepo mirror So now repoA is gone and doesn't exist anymore. It has been replaced with a new repoB server at a different URL which has modified some of the branches

Class not found using the boot class loader

半腔热情 提交于 2019-12-24 02:01:49
问题 there are a few questions out there about this, however I cannot get any of their solutions to work. Everything I've tried has failed, does anyone know what I'm doing wrong? Here is the error: 07-09 12:05:20.772 17337-17337/com.spaceshooter.game E/AndroidRuntime: FATAL EXCEPTION: main Process: com.spaceshooter.game, PID: 17337 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.spaceshooter.game/com.spaceshooter.game.AndroidLauncher}: java.lang.ClassNotFoundException:

Class not found using the boot class loader

落花浮王杯 提交于 2019-12-24 02:01:18
问题 there are a few questions out there about this, however I cannot get any of their solutions to work. Everything I've tried has failed, does anyone know what I'm doing wrong? Here is the error: 07-09 12:05:20.772 17337-17337/com.spaceshooter.game E/AndroidRuntime: FATAL EXCEPTION: main Process: com.spaceshooter.game, PID: 17337 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.spaceshooter.game/com.spaceshooter.game.AndroidLauncher}: java.lang.ClassNotFoundException:

Delphi XE5 AndroidManifest. Can not set minSdkVersion=14 or bigger

纵然是瞬间 提交于 2019-12-24 01:28:03
问题 //Deilhi-XE5 Android Development I have a strange problem when I tried to set minSdkVersion in AndroidManifest.template.xml to 14 or latest version. When it is equal "9" or "10" my app works fine. But when I set minSdkVersion manually to "14" it is running but getting crash on screen orientation change. And the most funny thing that crash appears in module IdStack (indy) (no code to that module in resize event). But problem not in Indy for sure. Example: Open project "Forms" in Embarcadero

I want update the Application on playstore with changed targetSdkVersion

只谈情不闲聊 提交于 2019-12-24 00:03:11
问题 I have already updated an app to playstore with below-mentioned uses-SDK: <uses-sdk android:maxSdkVersion="23" android:minSdkVersion="17" android:targetSdkVersion="23"/> I want to downgrade my targetSdkVersion "23" to "22" . I've done it. if I upload to playstore, will the update work for all the users properly? 回答1: You won't have any problem at all. What you are saying with your <uses-sdk> is that your app is fully tested to run in version 22 and can even run in lower versions until 17. I

Fix Screen orientation

[亡魂溺海] 提交于 2019-12-23 21:19:48
问题 I wanted to fix screen orientation as a landscape mode in tab i.e on 7" I am calculating the inch of the device in my coding and is setting it as: int inch=((int)height_pixel1/(int)xdpi); if(inch>=6){ orientation=true; this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); } else { orientation=false; this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); } and the problem is firstly it displays me the screen orientation as according to my requirement,but

Android app package name

☆樱花仙子☆ 提交于 2019-12-23 20:16:06
问题 When creating an Android application using Java, you place your classes into packages such as com.example.appName However, in the Android XML manifest file, you also specify the package there. It is my understanding that the Google Play Store, where Android apps are uploaded, uses the package name as a unique identifier for your app. So, which package name actually identifies your app/APK file? And can the package names in your code be different to the package name in the manifest? 回答1: Only

Rename package name in android

元气小坏坏 提交于 2019-12-23 20:01:45
问题 I want to rename package name in my project. I have 9 packages so far and when I have change package name ,the changes are done in java and xml file. But in Manifest.xml file, the activity definition section , package activity doesn't change after rename package. Please help me. 回答1: There is an option for this in Android Tools, here are the steps for doing this Right Click on the project Click on Android Tools Click on Rename Application Project Enter the new package name 回答2: First change

Debugging not working in a service class ?? what can cause this issue?

半腔热情 提交于 2019-12-23 19:07:07
问题 All of a sudden I am not able to debug anything that i am doing in a service even though i put breakpoints all over. but logging shows that all the lines are getting executed. Can someone tell me what could be causing this issue. I am using eclipse and i have set to "Build automatically". 回答1: Do you have an Activity which is launched at the beginning of your application? If not you have to manually activate the debug on your process by using the DDMS tool in Eclipse. In DDMS -> Devices ,

Manifest merger failed with multiple errors, see logs (unity3d, Android Studio 3.2)

北战南征 提交于 2019-12-23 18:55:56
问题 I am trying to add unity3d module as an on demand dynamic delivery module in a native android app. I am getting 'Manifest merger failed with multiple errors' problem while I am trying to build the project.Below I have given code for two manifest files one is for the app module that is module with native android code that I am writing and the other manifest is the manifest generated by unity3d after exporting it as an android studio project. I have added the unity3d android studio project as