App is not getting installed in lower versions

Hi my app is not getting installed in lower versions of android mobiles which is Android6 , but I gave minimum android sdk as 5.But still its not installing in android 6. PLease help me what might be the issue for this.

Tagged:

Answers

  • JarvanJarvan Member, Xamarin Team Xamurai
    edited September 18

    @subramanyamnuggu
    How did you install the app? Deploy the application on VS or use apk?Any error occured when installing?

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    Deploy the application on VS. No error occurred when Installing

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    Yes I am getting this error

    Build Failed: Xamarin.Android does not support running the previous version. Please ensure your solution builds before running or debugging it.

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    Even This in the error list

    Error ADB0010: Unexpected install output: pkg: /data/local/tmp/HEET.Droid.HEET.Droid-Signed.apk
    Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

    at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName) in E:\A_work\35\s\External\androidtools\Mono.AndroidTools\Internal\AdbOutputParsing.cs:line 345
    at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass95_0.b__0(Task1 t) in E:\A\_work\35\s\External\androidtools\Mono.AndroidTools\AndroidDevice.cs:line 753 at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute() 0
    Error ADB0000: Deployment failed
    Mono.AndroidTools.InstallFailedException: Unexpected install output: pkg: /data/local/tmp/HEET.Droid.HEET.Droid-Signed.apk
    Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

    at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName) in E:\A_work\35\s\External\androidtools\Mono.AndroidTools\Internal\AdbOutputParsing.cs:line 345
    at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass95_0.b__0(Task1 t) in E:\A\_work\35\s\External\androidtools\Mono.AndroidTools\AndroidDevice.cs:line 753 at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute() 0

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    @Jarvan , @LeonLu can you please help me to figure it out how to solve the above issue

  • JarvanJarvan Member, Xamarin Team Xamurai

    @subramanyamnuggu
    What is the package name? Make sure it does not contain uppercase characters.

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    Hi @Jarvan

    I have tried even that but still its not getting installed

  • JarvanJarvan Member, Xamarin Team Xamurai
    edited September 18

    @subramanyamnuggu
    Have you tried installing the app on android 7.0 or higher? How about it? Try the method in following links.

    https://forums.xamarin.com/discussion/comment/317607/#Comment_317607
    https://stackoverflow.com/a/50061573/11083277

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    @Jarvan Yes its getting installed in android 7 and higher versions

  • JarvanJarvan Member, Xamarin Team Xamurai

    Have you tried to create a new android emulator 6.0. If it doesn't work, would you mind sharing a basic demo to reproduce the issue for a solution?

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    Hi,

    @Jarvan , @LeonLu Is there any other possible way to solve this issue because its getting installed in android 7, 8, 9 but not in Android 5.

    Build Failed: Xamarin.Android does not support running the previous version. Please ensure your solution builds before running or debugging it.

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    Sry, its not installing in Android 6 we didnt try in 5

  • subramanyamnuggusubramanyamnuggu Member ✭✭✭

    this is the error I found in logs

    MonoDroidLog: Error: 0: [E:]: Deployment failed
    Mono.AndroidTools.InstallFailedException: Unexpected install output: pkg: /data/local/tmp/HEET.Droid.HEET.Droid-Signed.apk
    Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

    at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName) in E:\A_work\35\s\External\androidtools\Mono.AndroidTools\Internal\AdbOutputParsing.cs:line 345
    at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass95_0.b__0(Task1 t) in E:\A\_work\35\s\External\androidtools\Mono.AndroidTools\AndroidDevice.cs:line 753 at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()

  • JarvanJarvan Member, Xamarin Team Xamurai

    Please post the code about AndroidManifest.xml.

Sign In or Register to comment.