03 December 2014

masalah compile android


  1. semak version java* dan jar* dalam:
    • /etc/alternatives/jar*
    • /etc/alternatives/java*
    • pastikan semua guna version sama (on ubuntu12.04):
    • /etc/alternatives/jar -> /usr/lib/jvm/java-6-oracle/bin/jar*
    • /etc/alternatives/jarsigner -> /usr/lib/jvm/java-6-oracle/bin/jarsigner*
  2. package com.sun.javadoc does not exist 
    • export PATH=/home/rev/BIN/jdk-6u34/jdk1.6.0_34/bin/:$PATH
    • buang / lepas bin
    • export PATH=/home/rev/BIN/jdk-6u34/jdk1.6.0_34/bin:$PATH 



No comments:

Post a Comment

Terima kasih