Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build? #63

Open
apiote opened this issue Sep 27, 2017 · 2 comments
Open

How to build? #63

apiote opened this issue Sep 27, 2017 · 2 comments

Comments

@apiote
Copy link

apiote commented Sep 27, 2017

Both gradle build and building in Android Studio fails:

Executing tasks: [:generateAospDebugSources, :generateAospDebugAndroidTestSources, :prepareAospDebugUnitTestDependencies, :mockableAndroidJar, :library:generateDebugSources, :library:generateDebugAndroidTestSources, :library:mockableAndroidJar, :library:prepareDebugUnitTestDependencies]

Configuration on demand is an incubating feature.
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /.android-sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

The com.google.protobuf plugin was already applied to the project: : and will not be applied again after plugin: android
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /.android-sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
:preBuild UP-TO-DATE
:preAospDebugBuild UP-TO-DATE
:checkAospDebugManifest
:extractProguardFiles
:preAospReleaseBuild
:prepareComAndroidSupportAnimatedVectorDrawable2531Library
:prepareComAndroidSupportAppcompatV72531Library
:prepareComAndroidSupportPaletteV72531Library
:prepareComAndroidSupportRecyclerviewV72531Library
:prepareComAndroidSupportSupportCompat2531Library
:prepareComAndroidSupportSupportCoreUi2531Library
:prepareComAndroidSupportSupportCoreUtils2531Library
:prepareComAndroidSupportSupportFragment2531Library
:prepareComAndroidSupportSupportMediaCompat2531Library
:prepareComAndroidSupportSupportV42531Library
:prepareComAndroidSupportSupportVectorDrawable2531Library
:prepareComGithubQuadFlaskColorpicker0013Library
:library:preBuild UP-TO-DATE
:library:preReleaseBuild UP-TO-DATE
:library:checkReleaseManifest
:library:preDebugAndroidTestBuild UP-TO-DATE
:library:preDebugBuild UP-TO-DATE
:library:preDebugUnitTestBuild UP-TO-DATE
:library:preReleaseUnitTestBuild UP-TO-DATE
:library:prepareComAndroidSupportAnimatedVectorDrawable2531Library
:library:prepareComAndroidSupportAppcompatV72531Library
:library:prepareComAndroidSupportPaletteV72531Library
:library:prepareComAndroidSupportSupportCompat2531Library
:library:prepareComAndroidSupportSupportCoreUi2531Library
:library:prepareComAndroidSupportSupportCoreUtils2531Library
:library:prepareComAndroidSupportSupportFragment2531Library
:library:prepareComAndroidSupportSupportMediaCompat2531Library
:library:prepareComAndroidSupportSupportV42531Library
:library:prepareComAndroidSupportSupportVectorDrawable2531Library
:library:prepareReleaseDependencies
:library:compileReleaseAidl
:library:compileLint
:library:copyReleaseLint NO-SOURCE
:library:mergeReleaseShaders
:library:compileReleaseShaders
:library:generateReleaseAssets
:library:mergeReleaseAssets
:library:mergeReleaseProguardFiles
:library:packageReleaseRenderscript NO-SOURCE
:library:compileReleaseRenderscript
:library:generateReleaseResValues
:library:generateReleaseResources
:library:packageReleaseResources
:library:processReleaseManifest
:library:bundleRelease
:prepareAospDebugDependencies
:compileAospDebugAidl
:compileAospDebugRenderscript
:generateAospDebugBuildConfig
:extractAospDebugProto
:extractAospProto
:extractDebugProto
:extractIncludeAospDebugProto
:extractIncludeAospProto
:extractIncludeDebugProto
:extractIncludeProto
:extractProto
:generateAospDebugProto
:generateAospDebugResValues
:generateAospDebugResources
:mergeAospDebugResources
:processAospDebugManifest
{project_path}/FlickLauncher/AndroidManifest-common.xml:58:5-80 Warning:
	Element uses-permission#android.permission.READ_EXTERNAL_STORAGE at AndroidManifest-common.xml:58:5-80 duplicated with element declared at AndroidManifest-common.xml:44:5-80
:processAospDebugResources
AGPBI: {"kind":"warning","text":"warning: string \u0027app_name\u0027 marked untranslatable but exists in locale \u0027be\u0027","sources":[{"file":"{project_path}/FlickLauncher/build/intermediates/res/merged/aosp/debug/values-be/values-be.xml","position":{"startLine":2}}],"original":"","tool":"AAPT"}

{project_path}/FlickLauncher/build/intermediates/res/merged/aosp/debug/values-be/values-be.xml:3: warning: string 'app_name' marked untranslatable but exists in locale 'be'

warning: string 'app_name' has no default translation.
warning: string 'application_name' has no default translation.
warning: string 'delete_target_label' has no default translation.
warning: string 'delete_target_uninstall_label' has no default translation.
warning: string 'info_target_label' has no default translation.
warning: string 'pick_wallpaper' has no default translation.
warning: string 'wallpaper_instructions' has no default translation.


:generateAospDebugSources
:preAospDebugAndroidTestBuild UP-TO-DATE
:prepareComAndroidSupportTestExposedInstrumentationApiPublish05Library
:prepareComAndroidSupportTestRunner05Library
:prepareComAndroidSupportTestUiautomatorUiautomatorV18212Library
:prepareAospDebugAndroidTestDependencies
:compileAospDebugAndroidTestAidl
:processAospDebugAndroidTestManifest
:compileAospDebugAndroidTestRenderscript
:generateAospDebugAndroidTestBuildConfig
:extractAndroidTestProto
:extractAospDebugAndroidTestProto
:extractIncludeAndroidTestProto
:extractIncludeAospDebugAndroidTestProto
:generateAospDebugAndroidTestProto NO-SOURCE
:generateAospDebugAndroidTestResValues
:generateAospDebugAndroidTestResources
:mergeAospDebugAndroidTestResources
:processAospDebugAndroidTestResources
Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.


:generateAospDebugAndroidTestSources
:preAospDebugUnitTestBuild UP-TO-DATE
:prepareAospDebugUnitTestDependencies
:mockableAndroidJar
:library:checkDebugManifest
:library:prepareDebugDependencies
:library:compileDebugAidl
:library:compileDebugRenderscript
:library:generateDebugBuildConfig
:library:generateDebugResValues
:library:generateDebugResources
:library:mergeDebugResources
:library:processDebugManifest
:library:processDebugResources
:library:generateDebugSources
:library:prepareComAndroidSupportTestEspressoEspressoCore222Library
:library:prepareComAndroidSupportTestEspressoEspressoIdlingResource222Library
:library:prepareComAndroidSupportTestExposedInstrumentationApiPublish05Library
:library:prepareComAndroidSupportTestRules05Library
:library:prepareComAndroidSupportTestRunner05Library
:library:prepareDebugAndroidTestDependencies
:library:compileDebugAndroidTestAidl
:library:copyDebugLint NO-SOURCE
:library:mergeDebugShaders
:library:compileDebugShaders
:library:generateDebugAssets
:library:mergeDebugAssets
:library:mergeDebugProguardFiles
:library:packageDebugRenderscript NO-SOURCE
:library:packageDebugResources
:library:bundleDebug
:library:processDebugAndroidTestManifest
:library:compileDebugAndroidTestRenderscript
:library:generateDebugAndroidTestBuildConfig
:library:generateDebugAndroidTestResValues
:library:generateDebugAndroidTestResources
:library:mergeDebugAndroidTestResources
:library:processDebugAndroidTestResources
:library:generateDebugAndroidTestSources
:library:mockableAndroidJar
:library:prepareDebugUnitTestDependencies

BUILD SUCCESSFUL in 1m 5s
101 actionable tasks: 101 executed
Executing tasks: [:generateAospDebugSources, :generateAospDebugAndroidTestSources, :prepareAospDebugUnitTestDependencies, :mockableAndroidJar, :compileAospDebugAndroidTestSources, :compileAospDebugUnitTestSources, :compileAospDebugSources, :library:generateDebugSources, :library:generateDebugAndroidTestSources, :library:mockableAndroidJar, :library:prepareDebugUnitTestDependencies, :library:compileDebugAndroidTestSources, :library:compileDebugUnitTestSources, :library:compileDebugSources]

Configuration on demand is an incubating feature.
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /.android-sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

The com.google.protobuf plugin was already applied to the project: : and will not be applied again after plugin: android
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /.android-sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
:preBuild UP-TO-DATE
:preAospDebugBuild UP-TO-DATE
:checkAospDebugManifest
:extractProguardFiles
:preAospReleaseBuild
:prepareComAndroidSupportAnimatedVectorDrawable2531Library
:prepareComAndroidSupportAppcompatV72531Library
:prepareComAndroidSupportPaletteV72531Library
:prepareComAndroidSupportRecyclerviewV72531Library
:prepareComAndroidSupportSupportCompat2531Library
:prepareComAndroidSupportSupportCoreUi2531Library
:prepareComAndroidSupportSupportCoreUtils2531Library
:prepareComAndroidSupportSupportFragment2531Library
:prepareComAndroidSupportSupportMediaCompat2531Library
:prepareComAndroidSupportSupportV42531Library
:prepareComAndroidSupportSupportVectorDrawable2531Library
:prepareComGithubQuadFlaskColorpicker0013Library
:library:preBuild UP-TO-DATE
:library:preReleaseBuild UP-TO-DATE
:library:checkReleaseManifest
:library:preDebugAndroidTestBuild UP-TO-DATE
:library:preDebugBuild UP-TO-DATE
:library:preDebugUnitTestBuild UP-TO-DATE
:library:preReleaseUnitTestBuild UP-TO-DATE
:library:prepareComAndroidSupportAnimatedVectorDrawable2531Library
:library:prepareComAndroidSupportAppcompatV72531Library
:library:prepareComAndroidSupportPaletteV72531Library
:library:prepareComAndroidSupportSupportCompat2531Library
:library:prepareComAndroidSupportSupportCoreUi2531Library
:library:prepareComAndroidSupportSupportCoreUtils2531Library
:library:prepareComAndroidSupportSupportFragment2531Library
:library:prepareComAndroidSupportSupportMediaCompat2531Library
:library:prepareComAndroidSupportSupportV42531Library
:library:prepareComAndroidSupportSupportVectorDrawable2531Library
:library:prepareReleaseDependencies
:library:compileReleaseAidl UP-TO-DATE
:library:compileReleaseNdk NO-SOURCE
:library:compileLint UP-TO-DATE
:library:copyReleaseLint NO-SOURCE
:library:compileReleaseRenderscript UP-TO-DATE
:library:generateReleaseBuildConfig
:library:generateReleaseResValues UP-TO-DATE
:library:generateReleaseResources UP-TO-DATE
:library:mergeReleaseResources
:library:processReleaseManifest UP-TO-DATE
:library:processReleaseResources
:library:generateReleaseSources
:library:incrementalReleaseJavaCompilationSafeguard
:library:javaPreCompileRelease
:library:compileReleaseJavaWithJavac
:library:extractReleaseAnnotations
:library:mergeReleaseShaders UP-TO-DATE
:library:compileReleaseShaders UP-TO-DATE
:library:generateReleaseAssets UP-TO-DATE
:library:mergeReleaseAssets UP-TO-DATE
:library:mergeReleaseProguardFiles UP-TO-DATE
:library:packageReleaseRenderscript NO-SOURCE
:library:packageReleaseResources UP-TO-DATE
:library:processReleaseJavaRes NO-SOURCE
:library:transformResourcesWithMergeJavaResForRelease
:library:transformClassesAndResourcesWithSyncLibJarsForRelease
:library:mergeReleaseJniLibFolders
:library:transformNativeLibsWithMergeJniLibsForRelease
:library:transformNativeLibsWithSyncJniLibsForRelease
:library:bundleRelease UP-TO-DATE
:prepareAospDebugDependencies
:compileAospDebugAidl UP-TO-DATE
:compileAospDebugRenderscript UP-TO-DATE
:generateAospDebugBuildConfig UP-TO-DATE
:extractAospDebugProto UP-TO-DATE
:extractAospProto UP-TO-DATE
:extractDebugProto UP-TO-DATE
:extractIncludeAospDebugProto UP-TO-DATE
:extractIncludeAospProto UP-TO-DATE
:extractIncludeDebugProto UP-TO-DATE
:extractIncludeProto UP-TO-DATE
:extractProto UP-TO-DATE
:generateAospDebugProto UP-TO-DATE
:generateAospDebugResValues UP-TO-DATE
:generateAospDebugResources UP-TO-DATE
:mergeAospDebugResources UP-TO-DATE
:processAospDebugManifest UP-TO-DATE
:processAospDebugResources UP-TO-DATE
:generateAospDebugSources UP-TO-DATE
:preAospDebugAndroidTestBuild UP-TO-DATE
:prepareComAndroidSupportTestExposedInstrumentationApiPublish05Library
:prepareComAndroidSupportTestRunner05Library
:prepareComAndroidSupportTestUiautomatorUiautomatorV18212Library
:prepareAospDebugAndroidTestDependencies
:compileAospDebugAndroidTestAidl UP-TO-DATE
:processAospDebugAndroidTestManifest UP-TO-DATE
:compileAospDebugAndroidTestRenderscript UP-TO-DATE
:generateAospDebugAndroidTestBuildConfig UP-TO-DATE
:extractAndroidTestProto UP-TO-DATE
:extractAospDebugAndroidTestProto UP-TO-DATE
:extractIncludeAndroidTestProto UP-TO-DATE
:extractIncludeAospDebugAndroidTestProto UP-TO-DATE
:generateAospDebugAndroidTestProto NO-SOURCE
:generateAospDebugAndroidTestResValues UP-TO-DATE
:generateAospDebugAndroidTestResources UP-TO-DATE
:mergeAospDebugAndroidTestResources UP-TO-DATE
:processAospDebugAndroidTestResources UP-TO-DATE
:generateAospDebugAndroidTestSources UP-TO-DATE
:preAospDebugUnitTestBuild UP-TO-DATE
:prepareAospDebugUnitTestDependencies
:mockableAndroidJar UP-TO-DATE
:incrementalAospDebugJavaCompilationSafeguard
:javaPreCompileAospDebug
:compileAospDebugJavaWithJavac
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutManagerPreN.java:18: error: cannot find symbol
import com.android.launcher3.shortcuts.pre.ShortcutCache;
                                          ^
  symbol:   class ShortcutCache
  location: package com.android.launcher3.shortcuts.pre
{project_path}/FlickLauncher/src/com/android/launcher3/IconPacks.java:18: error: package com.android.launcher3.util.pixel does not exist
import com.android.launcher3.util.pixel.PixelIcon;
                                       ^
{project_path}/FlickLauncher/src/com/android/launcher3/IconPacks.java:30: error: package IconPackProvider does not exist
    private Map<String, IconPackProvider.IconInfo> icons = new ArrayMap<>();
                                        ^
{project_path}/FlickLauncher/src/com/android/launcher3/IconPacks.java:34: error: package IconPackProvider does not exist
    public IconPacks(Map<String, IconPackProvider.IconInfo> icons, Context context, String packageName,
                                                 ^
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutManagerPreN.java:24: error: cannot find symbol
import static com.android.launcher3.shortcuts.ShortcutInfoCompat.INTENT_CATEGORY;
^
  symbol:   static INTENT_CATEGORY
  location: class
{project_path}/FlickLauncher/src/com/android/launcher3/Launcher.java:577: error: cannot find symbol
        if(Utilities.doCheckPROVersion(getApplicationContext())) {
                    ^
  symbol:   method doCheckPROVersion(Context)
  location: class Utilities
{project_path}/FlickLauncher/src/com/android/launcher3/Launcher.java:2169: error: cannot find symbol
        if(mHomeWatcher != null) {
           ^
  symbol:   variable mHomeWatcher
  location: class Launcher
{project_path}/FlickLauncher/src/com/android/launcher3/Launcher.java:2170: error: cannot find symbol
            mHomeWatcher.stopWatch();
            ^
  symbol:   variable mHomeWatcher
  location: class Launcher
{project_path}/FlickLauncher/src/com/android/launcher3/Launcher.java:3020: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
                            packageName, id, intent.getSourceBounds(), optsBundle, info.user);
                                                                                       ^
{project_path}/FlickLauncher/src/com/android/launcher3/LauncherModel.java:1764: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
                                    mDeepShortcutManager.queryForPinnedShortcuts(null, user);
                                                                                       ^
{project_path}/FlickLauncher/src/com/android/launcher3/LauncherModel.java:2833: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
                                    .queryForAllShortcuts(user);
                                                          ^
{project_path}/FlickLauncher/src/com/android/launcher3/LauncherModel.java:3406: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
                        mPackageName, new ArrayList<>(idsToWorkspaceShortcutInfos.keySet()), mUser);
                                                                                             ^
{project_path}/FlickLauncher/src/com/android/launcher3/LauncherModel.java:3465: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
                        mDeepShortcutManager.queryForPinnedShortcuts(null, mUser);
                                                                           ^
{project_path}/FlickLauncher/src/com/android/launcher3/LauncherModel.java:3516: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
                updateDeepShortcutMap(null, mUser, mDeepShortcutManager.queryForAllShortcuts(mUser));
                                                                                             ^
{project_path}/FlickLauncher/src/com/android/launcher3/LauncherAppState.java:101: error: DeepShortcutManager is abstract; cannot be instantiated
        mDeepShortcutManager = new DeepShortcutManager(sContext, new ShortcutCache());
                               ^
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java:165: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
                        mDeepShortcutsManager.queryForShortcutsContainer(activity, ids, user));
                                                                                        ^
{project_path}/FlickLauncher/src/com/android/launcher3/SettingsActivity.java:1394: error: cannot find symbol
                    if(Utilities.doCheckPROVersion(context)){
                                ^
  symbol:   method doCheckPROVersion(Context)
  location: class Utilities
{project_path}/FlickLauncher/src/com/android/launcher3/SettingsActivity.java:1417: error: cannot find symbol
                    if(Utilities.doCheckPROVersion(context)){
                                ^
  symbol:   method doCheckPROVersion(Context)
  location: class Utilities
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutManagerN.java:60: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
        UserHandle userHandle = shortcutKey.user;
                                           ^
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutManagerN.java:76: error: incompatible types: UserHandleCompat cannot be converted to UserHandle
        UserHandle userHandle = shortcutKey.user;
                                           ^
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/pre/ShortcutParser.java:111: error: cannot find symbol
            mShortcutsList.add(new ShortcutInfoCompat(mPackageName, id, shortLabel, longLabel, mComponentName, activity, Utilities.myUserHandle(), 0, true, disabledMessage, icon));
                                                                                                                                  ^
  symbol:   method myUserHandle()
  location: class Utilities
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutManagerPreN.java:73: error: cannot find symbol
            ShortcutInfoCompat info = getShortcutCache().getShortcut(packageName, shortcutId);
                                                        ^
  symbol:   method getShortcut(String,String)
  location: class ShortcutCache
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutManagerPreN.java:82: error: cannot find symbol
        return shortcutInfoCompat.getIcon();
                                 ^
  symbol:   method getIcon()
  location: variable shortcutInfoCompat of type ShortcutInfoCompat
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutManagerPreN.java:98: error: cannot find symbol
        return getShortcutCache().query(packageName, componentName);
                                 ^
  symbol:   method query(String,ComponentName)
  location: class ShortcutCache
{project_path}/FlickLauncher/src/com/android/launcher3/shortcuts/DeepShortcutManagerPreN.java:103: error: constructor ShortcutCache in class ShortcutCache cannot be applied to given types;
            mShortcutCache = new ShortcutCache(mContext, mLauncherApps);
                             ^
  required: no arguments
  found: Context,LauncherApps
  reason: actual and formal argument lists differ in length
{project_path}/FlickLauncher/src/com/android/launcher3/Utilities.java:2225: error: cannot find symbol
        if(Utilities.doCheckPROVersion(activity)) {
                    ^
  symbol:   method doCheckPROVersion(Activity)
  location: class Utilities
{project_path}/FlickLauncher/src/com/android/launcher3/IconPacks.java:55: error: package IconPackProvider does not exist
        IconPackProvider.IconInfo iconInfo = icons.get(info.toString());
                        ^
{project_path}/FlickLauncher/src/com/android/launcher3/IconPacks.java:57: error: cannot find symbol
            Drawable drawable = getDrawable(iconInfo.prefix + (PixelIcon.dayOfMonth() + 1));
                                                               ^
  symbol:   variable PixelIcon
  location: class IconPacks
{project_path}/FlickLauncher/src/com/android/launcher3/IconPacks.java:71: error: cannot find symbol
            return new CustomIconDrawable(mContext, this, info);
                       ^
  symbol:   class CustomIconDrawable
  location: class IconPacks
{project_path}/FlickLauncher/src/com/android/launcher3/blur/BlurWallpaperProvider.java:67: error: cannot find symbol
        sEnabled = mWallpaperManager.getWallpaperInfo() == null && Utilities.isAllowBlurDrawerPrefEnabled(mContext);
                                                                            ^
  symbol:   method isAllowBlurDrawerPrefEnabled(Context)
  location: class Utilities
{project_path}/FlickLauncher/src/com/android/launcher3/blur/BlurWallpaperProvider.java:78: error: cannot find symbol
        Launcher launcher = LauncherAppState.getInstance().getLauncher();
                                                          ^
  symbol:   method getLauncher()
  location: class LauncherAppState
{project_path}/FlickLauncher/src/com/android/launcher3/blur/BlurWallpaperProvider.java:79: error: cannot find symbol
        boolean enabled = mWallpaperManager.getWallpaperInfo() == null && Utilities.isAllowBlurDrawerPrefEnabled(mContext);
                                                                                   ^
  symbol:   method isAllowBlurDrawerPrefEnabled(Context)
  location: class Utilities
{project_path}/FlickLauncher/src/com/android/launcher3/blur/BlurWallpaperProvider.java:81: error: cannot find symbol
            launcher.scheduleKill();
                    ^
  symbol:   method scheduleKill()
  location: variable launcher of type Launcher
{project_path}/FlickLauncher/src/com/android/launcher3/blur/BlurWallpaperProvider.java:95: error: cannot find symbol
        if (Utilities.isVibrancyEnabled(mContext)) {
                     ^
  symbol:   method isVibrancyEnabled(Context)
  location: class Utilities
{project_path}/FlickLauncher/src/com/android/launcher3/blur/BlurWallpaperProvider.java:287: error: cannot find symbol
        return LauncherAppState.getInstance().getLauncher().getBlurWallpaperProvider();
                                             ^
  symbol:   method getLauncher()
  location: class LauncherAppState
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/WallpaperTileInfo.java:49: error: cannot find symbol
        return new Point(res.getDimensionPixelSize(R.dimen.wallpaperThumbnailWidth),
                                                          ^
  symbol:   variable wallpaperThumbnailWidth
  location: class dimen
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/WallpaperTileInfo.java:50: error: cannot find symbol
                res.getDimensionPixelSize(R.dimen.wallpaperThumbnailHeight));
                                                 ^
  symbol:   variable wallpaperThumbnailHeight
  location: class dimen
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/DrawableThumbWallpaperInfo.java:26: error: cannot find symbol
        mView = inflator.inflate(R.layout.wallpaper_picker_item, parent, false);
                                         ^
  symbol:   variable wallpaper_picker_item
  location: class layout
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/DrawableThumbWallpaperInfo.java:34: error: cannot find symbol
            ImageView image = (ImageView) mView.findViewById(R.id.wallpaper_image);
                                                                 ^
  symbol:   variable wallpaper_image
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperCropActivity.java:89: error: cannot find symbol
        setContentView(R.layout.wallpaper_cropper);
                               ^
  symbol:   variable wallpaper_cropper
  location: class layout
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperCropActivity.java:91: error: cannot find symbol
        mCropView = (CropView) findViewById(R.id.cropView);
                                                ^
  symbol:   variable cropView
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperCropActivity.java:92: error: cannot find symbol
        mProgressView = findViewById(R.id.loading);
                                         ^
  symbol:   variable loading
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperCropActivity.java:106: error: cannot find symbol
        actionBar.setCustomView(R.layout.actionbar_set_wallpaper);
                                        ^
  symbol:   variable actionbar_set_wallpaper
  location: class layout
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperCropActivity.java:117: error: cannot find symbol
        mSetWallpaperButton = findViewById(R.id.set_wallpaper_button);
                                               ^
  symbol:   variable set_wallpaper_button
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperCropActivity.java:126: error: cannot find symbol
                    Toast.makeText(WallpaperCropActivity.this, R.string.wallpaper_load_fail,
                                                                       ^
  symbol:   variable wallpaper_load_fail
  location: class string
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperCropActivity.java:251: error: cannot find symbol
        View wallpaperStrip = findViewById(R.id.wallpaper_strip);
                                               ^
  symbol:   variable wallpaper_strip
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/common/CropAndSetWallpaperTask.java:112: error: cannot find symbol
            Toast.makeText(mContext, R.string.wallpaper_set_fail, Toast.LENGTH_SHORT).show();
                                             ^
  symbol:   variable wallpaper_set_fail
  location: class string
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperCropActivity.java:404: error: cannot find symbol
            overridePendingTransition(0, R.anim.fade_out);
                                               ^
  symbol:   variable fade_out
  location: class anim
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:135: error: cannot find symbol
        setContentView(R.layout.wallpaper_picker);
                               ^
  symbol:   variable wallpaper_picker
  location: class layout
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:137: error: cannot find symbol
        mCropView = (CropView) findViewById(R.id.cropView);
                                                ^
  symbol:   variable cropView
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:140: error: cannot find symbol
        mProgressView = findViewById(R.id.loading);
                                         ^
  symbol:   variable loading
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:141: error: cannot find symbol
        mWallpaperScrollContainer = (HorizontalScrollView) findViewById(R.id.wallpaper_scroll_container);
                                                                            ^
  symbol:   variable wallpaper_scroll_container
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:142: error: cannot find symbol
        mWallpaperStrip = findViewById(R.id.wallpaper_strip);
                                           ^
  symbol:   variable wallpaper_strip
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:148: error: cannot find symbol
        mWallpapersView = (LinearLayout) findViewById(R.id.wallpaper_list);
                                                          ^
  symbol:   variable wallpaper_list
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/LiveWallpaperInfo.java:55: error: cannot find symbol
        mView = inflator.inflate(R.layout.wallpaper_picker_live_wallpaper_item, parent, false);
                                         ^
  symbol:   variable wallpaper_picker_live_wallpaper_item
  location: class layout
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/LiveWallpaperInfo.java:57: error: cannot find symbol
        ImageView image = (ImageView) mView.findViewById(R.id.wallpaper_image);
                                                             ^
  symbol:   variable wallpaper_image
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/LiveWallpaperInfo.java:58: error: cannot find symbol
        ImageView icon = (ImageView) mView.findViewById(R.id.wallpaper_icon);
                                                            ^
  symbol:   variable wallpaper_icon
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/LiveWallpaperInfo.java:67: error: cannot find symbol
        TextView label = (TextView) mView.findViewById(R.id.wallpaper_item_label);
                                                           ^
  symbol:   variable wallpaper_item_label
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:158: error: cannot find symbol
                populateWallpapers((LinearLayout) findViewById(R.id.live_wallpaper_list),
                                                                   ^
  symbol:   variable live_wallpaper_list
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:166: error: cannot find symbol
        populateWallpapers((LinearLayout) findViewById(R.id.third_party_wallpaper_list),
                                                           ^
  symbol:   variable third_party_wallpaper_list
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:170: error: cannot find symbol
        LinearLayout masterWallpaperList = (LinearLayout) findViewById(R.id.master_wallpaper_list);
                                                                           ^
  symbol:   variable master_wallpaper_list
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:205: error: cannot find symbol
        actionBar.setCustomView(R.layout.actionbar_set_wallpaper);
                                        ^
  symbol:   variable actionbar_set_wallpaper
  location: class layout
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:225: error: cannot find symbol
        mSetWallpaperButton = findViewById(R.id.set_wallpaper_button);
                                               ^
  symbol:   variable set_wallpaper_button
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:288: error: cannot find symbol
                getString(R.string.announce_selection, v.getContentDescription()));
                                  ^
  symbol:   variable announce_selection
  location: class string
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:297: error: cannot find symbol
                            (LinearLayout) findViewById(R.id.master_wallpaper_list);
                                                            ^
  symbol:   variable master_wallpaper_list
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:307: error: cannot find symbol
        mWallpaperStrip = findViewById(R.id.wallpaper_strip);
                                           ^
  symbol:   variable wallpaper_strip
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:328: error: cannot find symbol
        LinearLayout masterWallpaperList = (LinearLayout) findViewById(R.id.master_wallpaper_list);
                                                                           ^
  symbol:   variable master_wallpaper_list
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:359: error: cannot find symbol
                                    R.string.wallpaper_accessibility_name, ++tileIndex, numTiles);
                                            ^
  symbol:   variable wallpaper_accessibility_name
  location: class string
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:450: error: cannot find symbol
        inflater.inflate(R.menu.cab_delete_wallpaper, menu);
                          ^
  symbol:   variable menu
  location: class R
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:474: error: cannot find symbol
                    R.plurals.number_of_items_selected, numCheckedItems, numCheckedItems));
                     ^
  symbol:   variable plurals
  location: class R
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/WallpaperPickerActivity.java:485: error: cannot find symbol
        if (itemId == R.id.menu_delete) {
                          ^
  symbol:   variable menu_delete
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/FileWallpaperInfo.java:78: error: cannot find symbol
                    Toast.makeText(a, R.string.wallpaper_set_fail, Toast.LENGTH_SHORT).show();
                                              ^
  symbol:   variable wallpaper_set_fail
  location: class string
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/ThirdPartyWallpaperInfo.java:47: error: cannot find symbol
        mView = inflator.inflate(R.layout.wallpaper_picker_third_party_item, parent, false);
                                         ^
  symbol:   variable wallpaper_picker_third_party_item
  location: class layout
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/ThirdPartyWallpaperInfo.java:49: error: cannot find symbol
        TextView label = (TextView) mView.findViewById(R.id.wallpaper_item_label);
                                                           ^
  symbol:   variable wallpaper_item_label
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/ThirdPartyWallpaperInfo.java:59: error: cannot find symbol
        int iconSize = context.getResources().getDimensionPixelSize(R.dimen.wallpaperItemIconSize);
                                                                           ^
  symbol:   variable wallpaperItemIconSize
  location: class dimen
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/UriWallpaperInfo.java:45: error: cannot find symbol
                        Toast.makeText(a, R.string.image_load_fail,
                                                  ^
  symbol:   variable image_load_fail
  location: class string
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/PickImageInfo.java:32: error: cannot find symbol
        mView = inflator.inflate(R.layout.wallpaper_picker_image_picker_item, parent, false);
                                         ^
  symbol:   variable wallpaper_picker_image_picker_item
  location: class layout
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/PickImageInfo.java:38: error: cannot find symbol
                    (ImageView) mView.findViewById(R.id.wallpaper_image);
                                                       ^
  symbol:   variable wallpaper_image
  location: class id
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/tileinfo/PickImageInfo.java:40: error: cannot find symbol
            int colorOverlay = ContextCompat.getColor(context, R.color.wallpaper_picker_translucent_gray);
                                                                      ^
  symbol:   variable wallpaper_picker_translucent_gray
  location: class color
{project_path}/FlickLauncher/src/com/android/launcher3/wallpaperpicker/common/DialogUtils.java:27: error: cannot find symbol
                    .setItems(R.array.which_wallpaper_options, new DialogInterface.OnClickListener() {
                                     ^
  symbol:   variable which_wallpaper_options
  location: class array
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
80 errors

 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileAospDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 45s

86 actionable tasks: 47 executed, 39 up-to-date

@BrainBlasted
Copy link

Same issue here. @michelelacorte, are you still working on this?

@EmmanuelMess
Copy link

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants