<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 09/07/2016 01:22 AM, Markus Koschany
      wrote:<br>
    </div>
    <blockquote
      cite="mid:788b0970-44d9-a58c-3131-538e7b6000d8@debian.org"
      type="cite">
      <pre wrap="">On 06.09.2016 20:51, Chirayu Desai wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Markus,


On 09/06/2016 10:58 PM, Markus Koschany wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi Chirayu,

I had a closer look at android-framework-23. First of all the package
won't build in a clean chroot environment. (missing or wrong
build-dependencies?)
</pre>
        </blockquote>
        <pre wrap="">I'm getting a build error here when trying to build using cowbuilder,
due to a character encoding issue. The source has non-ASCII characters.
</pre>
      </blockquote>
      <pre wrap="">
Hmm, that's strange because I see errors like these that indicate a
missing/outdated build-dependency or something not on the CLASSPATH:

          ^
  symbol: class TestCase
/build/android-framework-23-6.0.1+r55/debian/out/uiautomator/build/stubs/com/android/uiautomator/testrunner/UiAutomatorTestCase.java:9:
error: cannot find symbol
public  Bundle getParams() { throw new RuntimeException("Stub!"); }
        ^
  symbol:   class Bundle
  location: class UiAutomatorTestCase
/build/android-framework-23-6.0.1+r55/debian/out/uiautomator/build/stubs/com/android/uiautomator/core/UiDevice.java:7:
error: cannot find symbol
public  Point getDisplaySizeDp() { throw new RuntimeException("Stub!"); }
        ^
  symbol:   class Point
  location: class UiDevice
/build/android-framework-23-6.0.1+r55/debian/out/uiautomator/build/stubs/com/android/uiautomator/core/UiDevice.java:24:
error: cannot find symbol
public  boolean pressRecentApps() throws RemoteException { throw new
RuntimeException("Stub!"); }
                                         ^
  symbol:   class RemoteException
  location: class UiDevice
/build/android-framework-23-6.0.1+r55/debian/out/uiautomator/build/stubs/com/android/uiautomator/core/UiDevice.java:32:
error: cannot find symbol
public  boolean swipe(Point[] segments, int segmentSteps) { throw new
RuntimeException("Stub!"); }
                      ^
  symbol:   class Point
  location: class UiDevice
/build/android-framework-23-6.0.1+r55/debian/out/uiautomator/build/stubs/com/android/uiautomator/core/UiDevice.java:46:
error: cannot find symbol
public  void freezeRotation() throws RemoteException { throw new
RuntimeException("Stub!"); }</pre>
    </blockquote>
    These symbols actually do exist in the framework, and are compiled.<br>
    The error here probably is the failure of framework compilation due
    to the UTF-8 issue I mentioned.<br>
    <br>
    <blockquote>/build/android-framework-23-6.0.1+r55/frameworks/base/core/java/com/android/server/backup/AccountSyncSettingsBackupHelper.java:131:
      error: unmappable character for encoding ASC<br>
      II<br>
                  // Skip adapters that aren???t visible to the user.<br>
    </blockquote>
                                          ^<br>
    and many more.<br>
    <br>
    I've tried adding<br>
    <blockquote>tasks.withType(JavaCompile) { options.encoding = 'UTF-8'
      }<br>
    </blockquote>
    to build.gradle, and<br>
    <meta http-equiv="content-type" content="text/html;
      charset=windows-1252">
    <blockquote>Dfile.encoding=utf-8<br>
    </blockquote>
    to d/rules gradle call without success.<br>
    <br>
    The latter shows up on the compile log as<br>
    <blockquote>To honour the JVM settings for this build a new JVM will
      be forked. Please consider using the daemon:
      <a class="moz-txt-link-freetext" href="https://docs.gradle.org/2.13/userguide/gradle_daemon.html">https://docs.gradle.org/2.13/userguide/gradle_daemon.html</a>.<br>
      Starting daemon process: workingDir =
      /build/android-framework-23-6.0.1+r55/.gradle/daemon/2.13,
      daemonArgs: [/usr/lib/jvm/java-8-openjdk-amd64/bin/java,
      -XX:MaxPermSize=256m, <br>
      -XX:+HeapDumpOnOutOfMemoryError, -Xmx1024m, -Dfile.encoding=utf-8,
      -Duser.country=US, -Duser.language=en, -Duser.variant, -cp,
      /usr/share/gradle/lib/gradle-launcher-2.13.jar, o<br>
      rg.gradle.launcher.daemon.bootstrap.GradleDaemon, 2.13]<br>
      <br>
    </blockquote>
    but that doesn't help.<br>
    <br>
    Any ideas?<br>
    <br>
    <blockquote
      cite="mid:788b0970-44d9-a58c-3131-538e7b6000d8@debian.org"
      type="cite">
      <pre wrap="">




</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Android-tools-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Android-tools-devel@lists.alioth.debian.org">Android-tools-devel@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>