Forum Xamarin Xamarin.Forms

Impossible to create APK

mvandonimvandoni Member ✭✭
edited October 2019 in Xamarin.Forms

I'm trying to create an Archive APK for my application which works perfectly in Android emulator and compile without problems.
After a few seconds of work I get the message:
Archive process doesn't work. For details check Errors section.
But in Error section I just find this message:
It was not possible to create archive app 'Timesheet'. Android archive not valid (no file APK)

Does anybody know how to solve this situation?
It's a project I was working on before summer and I could create my archive then, but now it's not working and I really don't know what changed in the while.

Thanks
Michele

Tagged:

Posts

  • AlbertKAlbertK MYMember ✭✭✭✭

    @mvandoni, Try to set to release mode before you archive

  • mvandonimvandoni Member ✭✭

    It is in release mode.
    These are my settings:

    Sorry for the language my installation is in Italian language.
    And this is what I see when I try to create my APK:

  • igorkr_10igorkr_10 Member ✭✭✭✭

    Check for apk file in bin folder of Android project

  • mvandonimvandoni Member ✭✭

    No apk file in all bin folder and subfolders.

  • igorkr_10igorkr_10 Member ✭✭✭✭

    Check Android Options in Android project. Click Advanced and check this window

  • AlbertKAlbertK MYMember ✭✭✭✭

    The Compile DEX should be dx or d8 and yours looks empty.

  • mvandonimvandoni Member ✭✭

    Thanks guys, I tryied both your suggestions but with no result, always the same message with no suggestion on the error.
    :'(

  • igorkr_10igorkr_10 Member ✭✭✭✭

    OK. Create new blank project and try to get its apk. If successfull then compare new project with your own.

Sign In or Register to comment.