User Tag List

Results 1 to 2 of 2

Thread: Android sdk and jdk installed.. got error..

  1. #1
    No Products Registered

    Join Date
    Apr 2017
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android sdk and jdk installed.. got error..

    the error..

    Buildfile: C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\b uild.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 25.2.5
    [checkenv] Installed at C:\Program Files (x86)\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: 26.0.0
    [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\WINDOWS8\AppData\Local\Temp\And2815.tmp\b in
    [mkdir] Created dir: C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\b in\res
    [mkdir] Created dir: C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\b in\rsObj
    [mkdir] Created dir: C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\b in\rsLibs
    [mkdir] Created dir: C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\g en
    [mkdir] Created dir: C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\b in\classes
    [mkdir] Created dir: C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\b in\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 370 source files to C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\b in\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\CrashReporter.java:24: error: package org.apache.http does not exist
    [javac] import org.apache.http.HttpResponse;
    [javac] ^
    [javac] C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\CrashReporter.java:25: error: package org.apache.http does not exist
    [javac] import org.apache.http.NameValuePair;
    [javac] ^
    [javac] C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\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\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\CrashReporter.java:111: error: cannot find symbol
    [javac] HttpResponse response;
    [javac] ^
    [javac] symbol: class HttpResponse
    [javac] location: class CrashReporter
    [javac] C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\MMFRuntime.java:1645: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] Method m = c.getDeclaredMethod("disconnect", null);
    [javac] ^
    [javac] cast to Class<?> for a varargs call
    [javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
    [javac] C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\MMFRuntime.java:1646: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] Object o = m.invoke(null, null);
    [javac] ^
    [javac] cast to Object for a varargs call
    [javac] cast to Object[] for a non-varargs call and to suppress this warning
    [javac] C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\MMFRuntime.java:1660: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] Method m = c.getDeclaredMethod("connect", null);
    [javac] ^
    [javac] cast to Class<?> for a varargs call
    [javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
    [javac] C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\MMFRuntime.java:1661: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] Object o = m.invoke(null, null);
    [javac] ^
    [javac] cast to Object for a varargs call
    [javac] cast to Object[] for a non-varargs call and to suppress this warning
    [javac] C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\MMFRuntime.java:1675: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] Method m = c.getDeclaredMethod("isConnected", null);
    [javac] ^
    [javac] cast to Class<?> for a varargs call
    [javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
    [javac] C:\Users\WINDOWS8\AppData\Local\Temp\And2815.tmp\s rc\Runtime\MMFRuntime.java:1676: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] Object o = m.invoke(null, null);
    [javac] ^
    [javac] cast to Object for a varargs call
    [javac] cast to Object[] for a non-varargs call and to suppress this warning
    [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] 9 warnings

    BUILD FAILED
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.

    Total time: 7 seconds


    searched on the forum for a while.. didnt find anything.. i give up..

    -path to android-sdk foder and jdk is already correct
    -downloaded the old version of android sdk tools with ant and build.xml (cant find it in newer version) (not the whole android sdk program)
    -using newest version of jdk (x86)

    (inside android sdk manager)
    -i only downloaded sdk build tools rev 26 only.. no lower revisions downloaded
    -downloaded sdk platform for android 8.0.0
    -downloaded android sdk tools 25.2.5
    -downloaded android sdk Platform-tools Rev. 26
    -downloaded google USB driver

    looks like the problem is coming from jdk and not the android sdk..
    forgot my account's pass with the exporter stuff.. i will recov it later.. but i really need to fix this first

    i saw somone asked this already.. it says that i need to build the program using api 22.. didnt work,

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,593
    Mentioned
    268 Post(s)
    Tagged
    4 Thread(s)
    you need to update your fusion version to latest build
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Replies: 56
    Last Post: 26th December 2017, 08:53 PM
  2. Purchased iOS/Android Exporters, installed, but not available
    By bteeter in forum iOS Export Module 2.5
    Replies: 2
    Last Post: 3rd January 2016, 05:55 AM
  3. Replies: 1
    Last Post: 11th October 2015, 04:07 PM
  4. Replies: 14
    Last Post: 28th September 2015, 03:12 PM
  5. Application cannot installed to the Android device.
    By ASD in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 20th November 2011, 10:43 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
  •