User Tag List

Page 7 of 7 FirstFirst ... 5 6 7
Results 61 to 69 of 69

Thread: SETUP Android SDK/ JAVA JDK - How to export to android - Tutorial

  1. #61
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    927
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem build apk

    so i update to sdk build tools 30-rc1. but it doesn't change : the apk still don't work. I re-made a test with just an active and the package run the installation. At the end, it said that the apk seems to be corrupt. so now, I download cmake, google play extend library, google play service... may be...
    If you have some idea
    EDIT : still nothing. Just have "problem with package analysis". See attachment if it helps...

    EDIT 2 : Xenon3000 j'ai bien lu ton super tuto pour faire les apk et je vais télécharger les packages pour éviter de passer par android studio si je suis bloqué. Par contre, j'ai pas trop compris : c'est devenu payant maintenant java ? Et je vais aller sur le comptoir du cliqueur...dès que je retrouve mon pass... là j'attends le mail du site
    Images attachées Images attachées

  2. #62
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,525
    Mentioned
    250 Post(s)
    Tagged
    4 Thread(s)
    can you show the error.log file after you updated the platform and sdk tools?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #63
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    927
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i have no error log. This is the problem !

  4. #64
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    927
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I load the apk in android studio to check it. 40 errors in the manifest file (see the screenshot). How can i change that ?
    EDIT : i try to make a new keystore but with no chance. Build is ok in fusion, apk don't instal on phone and of course same errors in android studio with the manifest file. erg...
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <manifest
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:versionCode="10"
        android:versionName="1.0"
        android:installLocation="0"
        android:compileSdkVersion="28"
        android:compileSdkVersionCodename="9"
        package="com.dlight.toword"
        platformBuildVersionCode="28"
        platformBuildVersionName="9">
    
        <uses-sdk
            android:minSdkVersion="25"
            android:targetSdkVersion="28" />
    
        <uses-feature
            android:name="android.software.leanback"
            android:required="false" />
    
        <uses-permission
            android:name="android.permission.INTERNET" />
    
        <uses-permission
            android:name="android.permission.READ_OWNER_DATA" />
    
        <uses-permission
            android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    
        <uses-permission
            android:name="android.permission.WRITE_OWNER_DATA" />
    
        <application
            android:theme="@ref/0x0103012a"
            android:label="@ref/0x7f0b001d"
            android:icon="@ref/0x7f06006b"
            android:allowTaskReparenting="true"
            android:allowBackup="false"
            android:hardwareAccelerated="true"
            android:largeHeap="true"
            android:networkSecurityConfig="@ref/0x7f0e0000">
    
            <activity
                android:theme="@ref/0x0103012a"
                android:label="@ref/0x7f0b001d"
                android:name="com.dlight.toword.Main"
                android:launchMode="2"
                android:screenOrientation="1"
                android:configChanges="0xdb0">
    
                <intent-filter>
    
                    <action
                        android:name="android.intent.action.MAIN" />
    
                    <category
                        android:name="android.intent.category.LAUNCHER" />
    
                    <category
                        android:name="tv.ouya.intent.category.GAME" />
    
                    <category
                        android:name="android.intent.category.LEANBACK_LAUNCHER" />
                </intent-filter>
            </activity>
    
            <meta-data
                android:name="FUSION_ID"
                android:value="1358995200.000000" />
    
            <activity
                android:theme="@ref/0x01030010"
                android:name="com.google.android.gms.auth.api.signin.internal.SignInHubActivity"
                android:exported="false"
                android:excludeFromRecents="true" />
    
            <service
                android:name="com.google.android.gms.auth.api.signin.RevocationBoundService"
                android:permission="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION"
                android:exported="true" />
    
            <activity
                android:theme="@ref/0x01030010"
                android:name="com.google.android.gms.common.api.GoogleApiActivity"
                android:exported="false" />
    
            <meta-data
                android:name="com.google.android.gms.version"
                android:value="@ref/0x7f080004" />
        </application>
    </manifest>
    text error of Android studio when i try to validate the manifest file :

    Error:External resource http://schemas.android.com/apk/res/android is not registered
    C:\Users\Admin\ApkProjects\lemotleplushaut\Android Manifest.xml
    Error:Error:line (11)cvc-elt.1.a: Cannot find the declaration of element 'manifest'.
    Error:Error:Premature end of file.
    Images attachées Images attachées

  5. #65
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    927
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so problem solved ! this is just my phone who had not finished an update... so silly !
    All my apolgogies for this false problem.

  6. #66
    Clicker Fusion 2.5Android Export Module

    Join Date
    Mar 2020
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi all,

    I believe I'm using the latest versions of all software (fusion, android studio, gradle, java sdk, etc.) and yet I'm still seeing the 'ant' error:


    Buildfile: C:\Users\#####\AppData\Local\Temp\And3C9B.tmp\buil d.xml

    BUILD FAILED
    C:\Users\#####\AppData\Local\Temp\And3C9B.tmp\buil d.xml:83: Cannot find C:\Users\#####\AppData\Local\Android\Sdk\tools\ant \build.xml imported from C:\Users\#####\AppData\Local\Temp\And3C9B.tmp\buil d.xml

    Total time: 0 seconds


    I've installed everything afresh today, but for some reason Fusion is still trying to use what I believe are the ant processes. Am I doing something wrong? Why is it not trying to use gradle?

  7. #67
    Clicker Fusion 2.5Android Export Module

    Join Date
    Mar 2020
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please ignore my last message - rookie mistake. All software was updated except for the exporter, I hadn't realised it needed an update after a clean install.

  8. #68
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Aug 2019
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I am trying to release my second small game (first one was released without issues about 3 months ago), but Android now gives this warning and does not allow me to proceed :

    "Unoptimised APK
    Warning:
    This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimising your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower installation success rates and take up storage on users' devices.
    Resolution:
    Use the Android App Bundle to automatically optimise for device configurations, or manage it yourself with multiple APKs. "

    I am using the R292.22 version and just updated everything available from google studio. Build API is 29, Target android version is 10.

    Any ideas what should I test ?

  9. #69
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Aug 2019
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, creating app bundle solved the issue.

Page 7 of 7 FirstFirst ... 5 6 7

Similar Threads

  1. Replies: 56
    Last Post: 26th December 2017, 08:53 PM
  2. Can Fusion and Android Export Module create Android Live Wallpapers?
    By chickenlump in forum Android Export Module 2.5
    Replies: 5
    Last Post: 4th September 2015, 09:29 PM
  3. Setting up the Android SDK for the Android Export Module
    By Jeff in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 2nd October 2013, 04:08 PM
  4. Setting up the Android SDK for the Android Export Module
    By Jeff in forum Android Export Module 2.5
    Replies: 3
    Last Post: 2nd October 2013, 04:08 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •