android


How do I fix or debug “Error: Android Packager: [app] Cannot create new key or keystore” in IntelliJ


I have an Android project with .iml files that I have generated myself. I am specifying my own keystore:
<option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="file://$MODULE_DIR$/debug.keystore" />
and the debug.keystore is a shared keystore file that comes from version control: it was not generated on my machine.
When I try to build the APK using IntelliJ 12.1.4 on Ubuntu 12.04, I get the following error:
Error: Android Packager: [app] Cannot create new key or keystore
Any idea what is causing this error or where I can look to debug it?
In Ubuntu, i did solved this problem by owning the folder :
home/user_name/.android :
sudo chown -R user_name:user_group /home/user_name/.android
Check to make sure the keystore file is owned by you. I had this issue a while ago and I found out that my keystore directory/file was owned by root.
For Intellij to use your custom keystore, your keystore must be configured with the standard debug key store alias/keys:
Keystore name: "debug.keystore"
Keystore password: "android"
Key alias: "androiddebugkey"
Key password: "android"

Related Links

In Android use setVideoFrameRate() after prepare(), start() while capturing video
What is android_compat_build_artifacts of poky in yocto
android remove WebView debug logcat
Remove Divider from Preference category
Google Search Bar Android
Android - WebView - Additional parameters from item clicked - File Chooser
Android NDK - How to get multiple events at one time from sensor queue?
Auto Refresh ListView in Fragment when Data is inserted in database
Android: calculating time away from app
Retrieving other view inside ListView item from inside TextWatcher
Link Queries with Realm Android
Android studio Image uploading error Firebase
How to using SharedPreference in ToggleButton Android?
Unable to add header in mikepenz material drawer
Map inside fragment list
Xamarin.Forms.Platform.Android.ViewRenderer`2.CreateNativeControl' not found

Categories

HOME
url-redirection
assembly
rdbms
nunit
mjml
powerpoint
r-googlesheets
seo
tivoli
cq5
tail
tvos
google-admin-sdk
bing-maps
google-schemas
appcelerator-studio
pega
watson-conversation
windows-ce
ipmitool
libc
atlassian-stash
android-7.0-nougat
video-editing
foreign-keys
cfml
sigma.js
pagespeed
systemtime
exit
easeljs
game-theory
definitelytyped
opentk
amazon-quicksight
8051
cppreference
carrierwave
sqsh
userdefaults
panoramas
database-comparison
modalviewcontroller
imagenet
protein-database
password-protection
chef-solo
c9.io
kill
levenshtein-distance
knime
vaadin-charts
x++
phpdbg
gitlist
dbcontext
manova
openblas
podscms
wpas
mach-o
taocp
stax
builtins
envi
jboss-tools
nservicebus5
cda
hadoop-partitioning
createprocess
false-sharing
user-management
custom-errors
gocql
qt5.2
opserver
uncompress
cwrsync
nutiteq
apache-spark-1.3
build-script
reflector
mutual-authentication
dsym
menubar
windows-phone-8-sdk
asdf
pdfviewer
curb
fusefabric
cgimage
update-statement
drawtobitmap
w3c-geolocation
qglwidget
vs-android
drupal-fivestar
burndowncharts
cfwindow
perl5.12

Resources

Encrypt Message