Start a new topic

Android app stops launching

We have created an Android app with Wikitude and Android JS API. After switching to targetSdkVersion 28, the app starts and closes immediately. No error messages are output.


The following is in MainActivity.java:



<?xml version="1.0" encoding="utf-8"?>

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:app="http://schemas.android.com/apk/res-auto"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

tools:context=".MainActivity" >

<com.wikitude.architect.ArchitectView android:id="@+id/architectView" android:layout_width="fill_parent" android:layout_height="fill_parent"/>

</androidx.constraintlayout.widget.ConstraintLayout>



We have included the latest Wikitude SDK (WikitudeSDK_Android_8-9-0_2019-09-24_03-00-03).

Android Studio 3.5.2.

The app was released this week in the Play Store. 64-bit settings was made successful. What can we do now?


It looks like the view (com.wikitude.architect.ArchitectView) is not loading properly. Is there information about this?


Many thanks

1 Comment

Hi,


First of all, our targetSdkVersion is 29, but i don't see a proper reason why this should be failing. 


I would need more info to try to reproduce your error: which device are you using? Can you share some log of the crash?


If you read the setup Guide:  https://www.wikitude.com/external/doc/documentation/latest/android/setupguideandroid.html#setup-guide-android  that is all the information you would need to make it work. It can happen that some permission (like the camera permission) is missing and you are trying to use our functionallity without it.


Regards,


Aitor.



Login or Signup to post a comment