Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Android APK when uploaded show no devices supported



  • I started using Monaco to build my android devices, but now when I upload an APK, its showing no devices are supported. Here is my config file I am using:
    <?xml version=“1.0” encoding=“UTF-8”?>
    <widget xmlns=“http://www.w3.org/ns/widgets” xmlns:android=“http://schemas.android.com/apk/res/android” id=“com.clubexpress.CBPBA” version=“1.0.3”>
    <name>CBPBA</name>
    <description>
    An app built for your organization
    </description>
    <author href=“https://www.clubexpress.comemail="support@clubexpress.com">
    ClubExpress
    </author>
    <content src=“index.html”/>
    <access origin=""/>
    <allow-navigation href="
    "/>
    <allow-intent href=“itms:"/>
    <allow-intent href="itms-apps:
    ”/>
    <allow-intent href=""/>
    <allow-intent href="tel:
    "/>
    <allow-intent href=“sms:"/>
    <allow-intent href="mailto:
    ”/>
    <allow-intent href=“geo:"/>
    <allow-intent href="http://
    /"/>
    <allow-intent href="https://
    /"/>
    <allow-navigation href="http://
    /"/>
    <allow-navigation href="https://
    /"/>
    <allow-navigation href="data:
    ”/>
    <preference name=“DisallowOverscroll” value=“true”/>
    <preference name=“Orientation” value=“default”/>
    <preference name=“loglevel” value=“DEBUG”/>
    <preference name=“AndroidLaunchMode” value=“singleTop”/>
    <preference name=“ErrorUrl” value=""/>
    <preference name=“Fullscreen” value=“false”/>
    <preference name=“KeepRunning” value=“true”/>
    <preference name=“SplashScreen” value=“screen”/>
    <preference name=“SplashScreenDelay” value=“1000”/>
    <preference name=“loadUrlTimeoutValue” value=“700000”/>
    <preference name=“LoadingDialog” value=“Please wait, the app is loading”/>
    <preference name=“AllowInlineMediaPlayback” value=“false”/>
    <preference name=“AutoHideSplashScreen” value=“true”/>
    <preference name=“BackupWebStorage” value=“cloud”/>
    <preference name=“EnableViewportScale” value=“false”/>
    <preference name=“FadeSplashScreen” value=“true”/>
    <preference name=“FadeSplashScreenDuration” value=“250”/>
    <preference name=“KeyboardDisplayRequiresUserAction” value=“true”/>
    <preference name=“MediaPlaybackRequiresUserAction” value=“false”/>
    <preference name=“ShowSplashScreenSpinner” value=“false”/>
    <preference name=“SuppressesIncrementalRendering” value=“false”/>
    <preference name=“TopActivityIndicator” value=“gray”/>
    <preference name=“GapBetweenPages” value=“0”/>
    <preference name=“PageLength” value=“0”/>
    <preference name=“PaginationBreakingMode” value=“page”/>
    <preference name=“PaginationMode” value=“unpaginated”/>
    <preference name=“orientation” value=“default”/>
    <preference name=“AndroidPersistentFileLocation” value=“Compatibility”/>
    <preference name=“android-minSdkVersion” value=“19”/>
    <preference name=“android-targetSdkVersion” value=“29”/>
    <preference name=“AppendUserAgent” value=“isapp”/>
    <preference name=“UIWebViewDecelerationSpeed” value=“normal”/>
    <preference name=“monaca:AndroidIsPackageNameSeparate” value=“false”/>
    <preference name=“AndroidExtraFilesystems” value=“sdcard,cache”/>
    <platform name=“android”>
    <preference name=“android-targetSdkVersion” value=“29”/>
    <resource-file src=“google-services.json” target=“app/google-services.json”/>
    <resource-file src=“google-services.json” target=“google-services.json”/>
    <icon src=“res/android/icon/android-icon-36x36.png” density=“ldpi”/>
    <icon src=“res/android/icon/android-icon-48x48.png” density=“mdpi”/>
    <icon src=“res/android/icon/android-icon-72x72.png” density=“hdpi”/>
    <icon src=“res/android/icon/android-icon-96x96.png” density=“xhdpi”/>
    <splash src=“res/android/screen/default.png” density=“port-ldpi”/>
    <splash src=“res/android/screen/mdpi.png” density=“port-mdpi”/>
    <splash src=“res/android/screen/hdpi.png” density=“port-hdpi”/>
    <splash src=“res/android/screen/xhdpi.png” density=“port-xhdpi”/>
    <splash src=“res/android/screen/xxhdpi.png” density=“port-xxhdpi”/>
    <splash src=“res/android/screen/xxxhdpi.png” density=“port-xxxhdpi”/>
    <custom-config-file parent="/*" target=“AndroidManifest.xml”>
    <uses-permission android:name=“android.permission.WRITE_EXTERNAL_STORAGE”/>
    <uses-permission android:name=“android.permission.READ_EXTERNAL_STORAGE”/>
    <uses-permission android:name=“android.permission.INTERNET”/>
    <uses-permission android:name=“android.permission.CAMERA”/>
    <uses-feature android:name=“android.hardware.CAMERA”/>
    <uses-permission android:name=“android.permission.ACCESS_COARSE_LOCATION”/>
    <uses-permission android:name=“android.permission.ACCESS_FINE_LOCATION”/>
    </custom-config-file>
    </platform>
    <preference name=“WindowsStorePublisherName” value=“My Name”/>
    <preference name=“WindowsStoreIdentityName” value=“8be6e182-90f5-fe09-3ea5-ec7d84d2f46e”/>
    </widget>


  • administrators

    Where do you see the message that no devices are supported? Is it a build error? If so, please send the full error.



  • No, when I finished the app in the Google Play Console, there is a device catalog, where as you can see it shows no devices supported.
    0_1606309939145_Screenshot_10.png


  • administrators

    @gwclubexpress
    It might be caused by this line:

     <uses-feature android:name=“android.hardware.CAMERA”/>
    

    https://stackoverflow.com/a/29058377