apk

How to create a new keystore in xamarin.android?

一曲冷凌霜 提交于 2021-02-10 07:14:10
问题 I'm trying to publish a xamarin.android app. I'm using Visual Studio with Xamarin Android 6, so I followed this. In part 2, it describes how to create a new keystore as shown in the following screenshot (You can see the complete describtion here): I don't get where should I place this command. I looked at that keytool link, but couldn't find any thing. I tried cmd, MSBuild Command Prompt for VS2015 and Developer Command Prompt for VS2015, but all of them showed this error: '$' is not

How to create a new keystore in xamarin.android?

删除回忆录丶 提交于 2021-02-10 07:09:15
问题 I'm trying to publish a xamarin.android app. I'm using Visual Studio with Xamarin Android 6, so I followed this. In part 2, it describes how to create a new keystore as shown in the following screenshot (You can see the complete describtion here): I don't get where should I place this command. I looked at that keytool link, but couldn't find any thing. I tried cmd, MSBuild Command Prompt for VS2015 and Developer Command Prompt for VS2015, but all of them showed this error: '$' is not

How to restrict usage of an API key with Hash comparison

断了今生、忘了曾经 提交于 2021-02-10 06:22:07
问题 I'm currently using Spotify in my Android app, but I am required to use a Secret in order to refresh tokens and such. I would like to transmit the secret from my Backend to the app, so the secret does not reside in the APK and cannot be found when decompiling. I've read a lot only about securing secrets in your app, via various ways like proxies, just using your own backend, putting the code into native C++ code (NDK) in the app or using the Hash of the app to determine whether the app is

Execution failed for task ':packageDebug' - in buildozer

僤鯓⒐⒋嵵緔 提交于 2021-02-08 11:15:45
问题 I'm having an error when, I tried to create an .apk file using buildozer. I have put tensorflow, keras, numpy in requirements (.spec file). However when I try to compile I receive this error: [DEBUG]: Unable to strip library '1' due to error /home/.../.buildozer/android/platform/android- ndk-r19c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm- linux-androideabi-strip returned from '/home/.../Desktop/Sign/.buildozer/android/platform/build- armeabi- v7a/dists/signapp_

Execution failed for task ':packageDebug' - in buildozer

℡╲_俬逩灬. 提交于 2021-02-08 11:14:22
问题 I'm having an error when, I tried to create an .apk file using buildozer. I have put tensorflow, keras, numpy in requirements (.spec file). However when I try to compile I receive this error: [DEBUG]: Unable to strip library '1' due to error /home/.../.buildozer/android/platform/android- ndk-r19c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm- linux-androideabi-strip returned from '/home/.../Desktop/Sign/.buildozer/android/platform/build- armeabi- v7a/dists/signapp_

lib folder missing when installing APK

你说的曾经没有我的故事 提交于 2021-02-08 08:52:50
问题 I would like to know how to build my APK so that my libraries are installed/copied under /data/data/<package name>/lib when installing the APK. I am using Android Studio 4.0.1 I build an APK and confirm when I extract it that I have a lib/arm64-v8a folder that contains my jni libs. I want that after I install my APK, some other applications on the same device can access the libs that I have in the lib/arm64-v8a . The /data/data/<package name> folder seems to be the right place for this, hence

lib folder missing when installing APK

不想你离开。 提交于 2021-02-08 08:52:18
问题 I would like to know how to build my APK so that my libraries are installed/copied under /data/data/<package name>/lib when installing the APK. I am using Android Studio 4.0.1 I build an APK and confirm when I extract it that I have a lib/arm64-v8a folder that contains my jni libs. I want that after I install my APK, some other applications on the same device can access the libs that I have in the lib/arm64-v8a . The /data/data/<package name> folder seems to be the right place for this, hence

version code shows different, from app grade file version code, when uploading to app store as aab

流过昼夜 提交于 2021-02-08 08:51:06
问题 When uploading an aab to the android play store console the versionCode is showing a much higher and completely different number than expected. The version Code is not showing as written in the gradle (targetSdkVersion) file of the app like it does when uploaded as a single apk. I've built several apks in the past. I wanted to decrease apk size for users. to accomplish this I've built my app as an aab and successfully uploaded the file into firebase console. The problem manifests itself at

Android App crashes when testing release build (apk) but works in dev

拜拜、爱过 提交于 2021-02-05 11:45:29
问题 the app crashes when i press on an item in a FlatList, its supposed to navigate to that items screen but instead the app keeps crashing for some reason. It works in every stage of the process until when i drag and drop the apk file on the emulator or open it on my phone then it keeps crashing. Here is the flatlist: <Animated.FlatList data={listings} // to have all the data ref={ref} keyExtractor={(listing) => listing.id.toString()} renderItem={({ item,index }) => ( <Card title={item.title}

How to import Guava into Android applications

北战南征 提交于 2021-02-05 10:47:05
问题 What is the proper way to import Guava into an Android project? Every time I try to use it I get a NoClassDefFoundError . This is what I'm doing to generate the crash. I'm using Android Studio 3.0 Canary 7. Create an new project File > New > New Project , target API 26.0 , using the Empty Activity template. Add to app/build.gradle in the dependencies section implementation "com.google.guava:guava:20.0" Add this to the onCreate method in MainActivity.java ImmutableList<String> foo =