User Tag List

Results 1 to 2 of 2

Thread: Android Exporter Error Targeting API 26

  1. #1
    Clicker Fusion 2.5

    Join Date
    Jul 2018
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Android Exporter Error Targeting API 26

    I installed the android exporter, java jdk (8u172), and android sdk (with build tools, several APIs etc.) but I can't build to API 26. The only one that works for me so far is building API 21 (Android 5.0). I have looked at other threads but I haven't been able to solve this issue. Does anyone know how to get it to work?

    Buildfile: C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\bui ld.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 25.2.5
    [checkenv] Installed at C:\Users\Travis\AppData\Local\Android\android-sdk

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 28.0.1
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 8.0.0
    [gettarget] API level: 26
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\bin
    [mkdir] Created dir: C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\bin \res
    [mkdir] Created dir: C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\bin \rsObj
    [mkdir] Created dir: C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\bin \rsLibs
    [mkdir] Created dir: C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\gen
    [mkdir] Created dir: C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\bin \classes
    [mkdir] Created dir: C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\bin \dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] No AIDL files to compile.
    [echo] ----------
    [echo] Handling RenderScript files...
    [echo] ----------
    [echo] Handling Resources...
    [aapt] Generating resource IDs...
    [echo] ----------
    [echo] Handling BuildConfig class...
    [buildconfig] Generating BuildConfig class.

    -pre-compile:

    -compile:
    [javac] Compiling 351 source files to C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\bin \classes
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:24: error: package org.apache.http does not exist
    [javac] import org.apache.http.HttpResponse;
    [javac] ^
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:25: error: package org.apache.http does not exist
    [javac] import org.apache.http.NameValuePair;
    [javac] ^
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:26: error: package org.apache.http.client.entity does not exist
    [javac] import org.apache.http.client.entity.UrlEncodedFormEntity ;
    [javac] ^
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:27: error: package org.apache.http.client.methods does not exist
    [javac] import org.apache.http.client.methods.HttpPost;
    [javac] ^
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:28: error: package org.apache.http.impl.client does not exist
    [javac] import org.apache.http.impl.client.DefaultHttpClient;
    [javac] ^
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:30: error: cannot find symbol
    [javac] import org.apache.http.params.HttpProtocolParams;
    [javac] ^
    [javac] symbol: class HttpProtocolParams
    [javac] location: package org.apache.http.params
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:63: error: cannot find symbol
    [javac] ArrayList <NameValuePair> postData = new ArrayList <NameValuePair> ();
    [javac] ^
    [javac] symbol: class NameValuePair
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:63: error: cannot find symbol
    [javac] ArrayList <NameValuePair> postData = new ArrayList <NameValuePair> ();
    [javac] ^
    [javac] symbol: class NameValuePair
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:65: error: cannot find symbol
    [javac] postData.add(new NameValuePair()
    [javac] ^
    [javac] symbol: class NameValuePair
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:95: error: cannot find symbol
    [javac] HttpPost post = new HttpPost ("http://bugs.clickteam.com/report.php");
    [javac] ^
    [javac] symbol: class HttpPost
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:95: error: cannot find symbol
    [javac] HttpPost post = new HttpPost ("http://bugs.clickteam.com/report.php");
    [javac] ^
    [javac] symbol: class HttpPost
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:99: error: cannot find symbol
    [javac] { post.setEntity (new UrlEncodedFormEntity (postData));
    [javac] ^
    [javac] symbol: class UrlEncodedFormEntity
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:105: error: cannot find symbol
    [javac] DefaultHttpClient client = new DefaultHttpClient();
    [javac] ^
    [javac] symbol: class DefaultHttpClient
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:105: error: cannot find symbol
    [javac] DefaultHttpClient client = new DefaultHttpClient();
    [javac] ^
    [javac] symbol: class DefaultHttpClient
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:108: error: cannot find symbol
    [javac] HttpProtocolParams.setUseExpectContinue (params, false);
    [javac] ^
    [javac] symbol: variable HttpProtocolParams
    [javac] location: class CrashReporter
    [javac] C:\Users\Travis\AppData\Local\Temp\And5EAA.tmp\src \Runtime\CrashReporter.java:111: error: cannot find symbol
    [javac] HttpResponse response;
    [javac] ^
    [javac] symbol: class HttpResponse
    [javac] location: class CrashReporter
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 16 errors
    [javac] 3 warnings

    BUILD FAILED
    C:\Users\Travis\AppData\Local\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
    C:\Users\Travis\AppData\Local\Android\android-sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.

    Total time: 4 seconds

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jul 2018
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I reinstalled Fusion 2.5 and I was able to build API 26 and target 8.0.

Similar Threads

  1. Replies: 56
    Last Post: 26th December 2017, 09:53 PM
  2. Error compiling in android exporter
    By Esa in forum Android Export Module 2.5
    Replies: 11
    Last Post: 22nd October 2017, 06:40 PM
  3. Error buildinf with android exporter pls help!!!!
    By AGX in forum Android Export Module 2.5
    Replies: 1
    Last Post: 8th January 2016, 05:30 PM
  4. Android Exporter Error when exporting
    By Keith in forum Android Export Module 2.5
    Replies: 1
    Last Post: 3rd January 2016, 08:34 AM

Posting Permissions

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