After a lay off, I migrated my Android development from Eclipse under Windows to a new machine with Android Studio running under Ubuntu.
Because I wished to port an existing project using Google Maps v1 (which no longer issues new API keys) I copied the release and debug keystores to the new machine.
Under Eclipse there was no need to know the location of the debug keystore which was created automatically and debug loads signed with it.
Under Android Studio, does the same principle apply? If there is a system created debug keystore, where is it, or do I have to define one explicitly?
As described here in the documentation: http://developer.android.com/tools/publishing/app-signing.html
You can find the debug keystore in $HOME/.android/debug.keystore
Yes, a debug.keystore file is created for you by Android Studio. It is in your user home directory under .android/debug.keystore (i.e., on Linux/Mac at ~/.android/debug.keystore
Related
I have a Kotlin Multiplatform Project which contains an android library target. That library is imported to a separate android app project:
// settings.gradle.kts
include ":sharedLib"
project(":sharedLib").projectDir = file("../path/to/sharedLib")
Whenever I sync my app project in Android studio both the app and sharedLib projects sync in parallel. I am pretty sure this is some IDE setting i fluffed up when debugging source resolution with the sharedLib a while back.
Any ideas what AS settings i might have messed up? I actually removed AS and reset the configuration and yet I am dealing with seeing dual syncing.
Turns out it was some config stored in my project's .idea directory. Cleared it and everything is happy again.
I am new to this flutter based app creation. Now I successfully created one sample app in my windows system android studio with flutter plugin that app also running successful. OK, now I want to generate the IPA app for the same application. I don't know how to generate the IPA for IOS device in using android studio? anyone help me please..
I am using windows 10 system and my android studio version as 3.4.2
I want to generate .ipa file in android studio, like how i generate .apk file in android studio.
The only way to generate an IPA from you windows machine is by using a CI/CD service like Codemagic using the steps described in this article:
link your repository (Github, BitBucket , or Gitlab).
from settings > build for platforms > IOS
change the .app file you received to .zip and extract it.
You will find a file called Runner.app, put in a folder and compress it back.
change the extension from .zip to .ipa.
And here's your first IOS build without a Mac device.
I do not want Android Studio to use the (automatically created) debug.keystore, instead I want to use my release keystore. The reason for this is that Push Notifications do not work when the APK is signed with the debug key.
I have googled, but I cannot find a way.
The change you want is in your build.gradle, not in Android studio itself, per-se. You can configure the signing keystore using Android Studio, but under the hood your build.gradle will be edited by the IDE. The documentation is available here.
The section on securing your key describes how to add this into your build.gradle in a secure/safe way, assuming you don't want your signing details checked into version control.
I am using android studio 1.4 and I made a keystore but I accidently deleted that folder. Now how can I make a new keystore? I use android studio just for the purpose of learning as of now. I have no recent plans to publish on google play. I am trying to create new keystore but I am not able to create a new keystore. Please help me out with this problem.
I am using Visual Studio 2012 and Xamarin.Android Beta release to develop an Android application. When I try to deploy the android application for debugging purposes onto an Android device, it deploys the previously built application on the device and not the recent changes I made and deployed (i.e No refresh of build). However, if I use Xamarin Studio to do the same, it deploys the correct build everytime (i.e refreshes the build with new code changes).
Any idea why this is happening?
Thanks in advance!
I had a similar issue: With Visual Studio 2019 the debug version of my driver was deployed while building the release version.
The cause of my problem was, that in the Properties -> Driver Install -> Package Files I had an absolute path pointing to the debug version of my driver in the column File. This setting is valid for all configurations (not separated for debug/release), and when entering macros, they are immediately expanded to absolute paths.
I fixed this by editing the .vcxproj file with my favourite editor and changed the path back to $(TargetPath).
I had the same problem. My solution was to add "deploy" to the build configuration:
BUILD => Configuration Manager... => (select "Debug" from left-hand combo-box) => (tick "Deploy" in grid)
Courtesy of this xamarin forum post.
I have no idea why it does this, I had this issue before. I also noticed that the device log was somewhat behind (ie, at 3.30pm, the last record on the device log was 11.00am).
Uninstalling the app from the device and re-deploying it seems to correct it.
Note: I had this issue in VS, didn't check with XS.
I would look at the difference in your deployment settings in VS and XS (I think it may have something to do with the Fast Deployment option).
Similar question (though for iOS Simulator) here.
I had a similar problem (though on an Android emulator).
What didn't work for me:
restarting the computer
restarting Visual Studio
deleting bin / obj folders
going into Configuration Manager (Debug / Release / Configuration Manager) and ticking everything there - everything was ticked
changing the version of the app in the manifest
What worked for me?
Uninstalling the app from the emulator and then running Debug again.
It was an Android emulator, so I uninstalled by clicking on the app icon and holidng for long, and then dragging it to "Uninstall App". On an iOS simulator it should be similar.