release

Cordova 6.4.0 Android error when building release apk

柔情痞子 提交于 2019-12-01 04:47:49
I had a project working well on cordova 6.3.1 . Then I updated cordova and my project to 6.4.0 . After this, first time I built, gradle got automatically updated too. Now I am experiencing an important issue: I need to include the keystore and alias passwords in the build.json file or the release apk generation fails with error. I use a build.json file like this: { "android": { "debug": { "keystore": "C:\\Path\\To\\Keystores\\debug.keystore", "storePassword": "debugpass", "alias": "thedebugalias", "password" : "debugpass", "keystoreType": "" }, "release": { "keystore": "C:\\Path\\To\\Keystores

URLForUbiquityContainerIdentifier alway return nil

戏子无情 提交于 2019-12-01 00:22:11
URLForUbiquityContainerIdentifier: always returns nil NSURL *ubiquityURL = [fileManager URLForUbiquityContainerIdentifier:nil]; if (ubiquityURL == nil) app build by xcode 4.5 app is enabled iCloud IOS is logged in into iCloud account ubiquityURL is normal in debug, but ubiquityURL is always nil after distribution to app store. It sounds like your release configuration has the wrong entitlements. What is your com.apple.developer.ubiquity-container-identifiers values in your .entitlements plist? 来源: https://stackoverflow.com/questions/12769542/urlforubiquitycontaineridentifier-alway-return-nil

Release-Debug Builds for Android Application

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 19:55:32
In C++ I would normally setup 2 builds - debug and release with each having DEBUG and RELEASE predefined respectively. I would then use these definitions to determine constant values, like logging enabled/disabled, server URL and etc. Right now, in Java/Android I comment out some stuff before building release. That is not a good way, I can tell. I may forget something. What is a common practice for ensuring nothing is forgotten when building a release version (signed) or debug version (unsigned)? There's no (by default) any preprocessor for Java, so no #ifdef stuff at compile time. But if you

URLForUbiquityContainerIdentifier alway return nil

浪尽此生 提交于 2019-11-30 19:48:55
问题 URLForUbiquityContainerIdentifier: always returns nil NSURL *ubiquityURL = [fileManager URLForUbiquityContainerIdentifier:nil]; if (ubiquityURL == nil) app build by xcode 4.5 app is enabled iCloud IOS is logged in into iCloud account ubiquityURL is normal in debug, but ubiquityURL is always nil after distribution to app store. 回答1: It sounds like your release configuration has the wrong entitlements. What is your com.apple.developer.ubiquity-container-identifiers values in your .entitlements

Out of memory error when compiling UWP app in release mode with .Net native

风流意气都作罢 提交于 2019-11-30 19:10:18
问题 I have a solution where my main project is a uwp app, and two other projects referenced by the app : UWP App ---> references 2. Universal Class library ----> references 3. PCL Library 2 --> uses EF7 and SQLight. 3 --> uses PCLCrypto Now, everything works just fine and excellent when I'm on Debug mode x86 targeting local machine. I want to compile the solution in release mode using .Net native tool chain , here's my config : When I launch the compilation, it takes a remarkably long time, and

Gradle Build Failure

若如初见. 提交于 2019-11-30 16:58:08
My project compiles and executes well on debug mode but when i try to generate a signed apk, errors arise. This appears on the message log: :app:proguardRelease Warning:android.support.v4.app.DialogFragment: can't find referenced class android.support.v4.app.DialogFragment$DialogStyle Warning:android.support.v4.app.FragmentTransaction: can't find referenced class android.support.v4.app.FragmentTransaction$Transit Warning:android.support.v4.view.ViewCompat: can't find referenced class android.support.v4.view.ViewCompat$ResolvedLayoutDirectionMode Warning:android.support.v4.view.ViewCompat: can

ant release命令在terminal的log输出

纵然是瞬间 提交于 2019-11-30 15:21:28
~/reproject/re_android/DroidEYE/src $ ant release Buildfile: /home/ccy/reproject/re_android/DroidEYE/src/build.xml -set-mode-check: -set-release-mode: -release-obfuscation-check: [echo] proguard.config is ${proguard.config} -pre-build: -check-env: [checkenv] Android SDK Tools Revision 22.0.4 [checkenv] Installed at /home/ccy/download/adt-bundle-linux-x86_64-20130219/sdk -setup: [echo] Project Name: DroidEYE [gettype] Project Type: Application -build-setup: [getbuildtools] Using latest Build Tools: 18.0.0 [echo] Resolving Build Target for DroidEYE... [gettarget] Project Target: Android 4.0.3

Unable to open database in Android Pie (Android 9)

感情迁移 提交于 2019-11-30 14:56:18
I used checkDataBase function to ensure if the database already exist to avoid re-copying the file each time you open the application in Oreo. But in Android Pie it is not working. private boolean checkDataBase (String dbName, int dbVersion) { SQLiteDatabase checkDB = null; try { String myPath = DB_PATH + dbName; checkDB = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.CONFLICT_ABORT); if (checkDB.getVersion() < dbVersion) { Timber.d("Delete database called"); myContext.deleteDatabase(dbName); return false; } } catch(SQLiteException e) { } if(checkDB != null){ checkDB.close(); }

Cannot debug application in release mode even with DebugType=full

醉酒当歌 提交于 2019-11-30 13:02:49
We are building a solution for Release, but when attempting to attach using studio 2010 professional, no thread is showing any stack information, nor any breakpoint can be set, etc. The goal is to be able to attach the Visual Studio/JIT Debugger to the running process while having as many optimization benefits as possible. Most of our searches comes down to 'compile with debug:full' and you will be able to debug, but that doesn't seem to be the case, I thing that the JIT optimizes the code in runtime and thus we cannot debug, is this true? Is it possible to compile and tell the JIT to downplay

Android Studio Signed APK Not Installing

谁说我不能喝 提交于 2019-11-30 12:43:41
问题 I am in Android Studio and signing an APK under Build > Generate Signed APK and using the wizard. Everything appears to sign fine and an .apk file is generated. When I go copy this file over to my device (either Nexus 7 or Moto X) it won't install. I get an "install failed" message. I can't figure out what's going wrong at all. I have put this .apk up in the google play developer console under "alpha testing" and it was accepted fine (I'm waiting for the tester link to become active to try