无法从Android存储库编译实时电视代码

时间:2019-02-06 17:25:35

标签: java android

 repo init -u https://android.googlesource.com/platform/manifest -b master
 repo sync -j8 -c

 build/envsetup.sh
 tapas LiveTv x86
 make LiveTv

以上命令用于下载和构建直播电视代码。

  1. 遇到编译问题:

packages/apps/TV/tuner/src/com/android/tv/tuner/setup/LineupFragment.java:125:     error: package com.android.tv.common.R does not exist com.android.tv.common.R.id.guided_step_fragment_container

  1. 中的第125行注释后无法编译

    packages/apps/TV/tuner/src/com/android/tv/tuner/setup/LineupFragment.java. (To avoid error-1, commenting the code)

     An exception has occurred in the compiler (9). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
     java.lang.NullPointerException
    at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1233)
    at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1628)
    at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
    at jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:393)
    

0 个答案:

没有答案