VS2015 Xamarin Parsing error while installing apk - android

I have created a sample android app using visual studio 2015 xamarin.
It's an empty app and when trying to install it's saying parse error while installing package. i have seen so many fixes for this problem but
please see my manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="23" />
<application android:label="mt01_app.Android"></application>
</manifest>

Related

Smaller apk after upgrade Visual studio

I updated Visual studio 2019 from 16.5.1 to 16.8.3
If I generated APK in older version, the size was 94 MB, now is 55 MB. Why?
The new version causes app crash.
Xamarin.Android now has the entry android:extractNativeLibs="true" set by default, which causes smaller APKs since Visual Studio 2019 Version 16.8.
You can get the opposite behavior with an AndroidManifest.xml such as:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="1" android:versionName="1.0" package="com.companyname.myapp">
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="30" />
<application android:label="myapp" android:extractNativeLibs="false" />
</manifest>

Android app runs on Marshmallow and above API versions, but doesn't run below it

I am making one Android app. The app is working fine in android M and above, but my API's are not working in android below M
Here is my android manifest file. What is wrong with that?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tool="http://schemas.android.com/apk/res-auto"
package="com.milestonestudioz.adaalo"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="25"/>
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
You need to give the min SDK version in the Gradle file of your Android folder. When you give there the min Sdk, I think it should work. In case of any more clarification do ask...

App in Google Play Store (Beta-Test) says "App not compatible with your devices"

i have written an android app with xamarin.android in visual studio and compiled a release build for android 4.1 and higher. testing directly with my devices works without problems.
after building an apk and uploading it in the play store for a beta test, it says: "app not compatible with your devices". i am pretty sure, that my test devices are not the problem. what could it be??
here is my manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="xxx" android:versionCode="1" android:versionName="1.1" android:installLocation="auto">
<uses-sdk android:minSdkVersion="14" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="alone" android:icon="#drawable/Icon"></application>
</manifest>
on developer interface it says 10106 supported devices:
any ideas? thanks for your help...
best regards from germany,
steven
I dont use xamarin , but using studio if your gradle hava a different min sdk it will overwrite whatever os on you manifest , check your gradle file .

Android Studio API level error

I'm trying out the new Android Studio and it is not recognizing the current API level
My AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.wiproeag.smartbuy"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="17" />
...
</manifest>
Any ideas?
A possible workaround for this is to include the Android compatibility libraries. Try this one first and get back with the results. I'va also encountered such a problem and it worked for me.

Android Error - Market requires the minSdkVersion to be set to a positive 32-bit integer in AndroidManifest.xml

I'm trying to upload an App onto the Market Place and i'm getting the following error "Market requires the minSdkVersion to be set to a positive 32-bit integer in AndroidManifest.xml." after i export the signed Application Package using Eclipse. My Manifest File looks like the following:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.recipes"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk minSdkVersion="7"
android:targetSdkVersion="8"/>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Anyone know why i'm getting this error?
Thanks,
O

Categories

Resources