Error compiling CM13 - ThemesContract.ThemeMixColum ns cannot be resolved - OnePlus 3 Guides, News, & Discussion

Hi guys, i am tryning to compile CM13 for oneplus3 and after almost 170 minutes the build process fails with:
Code:
/data/home/build/android/system/packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:35: The import cyanogenmod.providers.ThemesContract.ThemeMixColum ns cannot be resolved
ERROR: /data/home/build/android/system/packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:36: The import cyanogenmod.providers.ThemesContract.ThemeMixEntry Columns cannot be resolved
ERROR: /data/home/build/android/system/packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:672: ThemeMixColumns cannot be resolved to a variable
Any ideas ? I have already repo sync several times to see if it would fix but it has not.

https://github.com/CyanogenMod/cm_platform_sdk/commit/c4f27d5b812df3d66c21b4d7ba1d1d216cc0c593 this solved error for me (crDroid 6.0.0)

Related

Make errors...Error 41

Hey there, I'm compiling the android source with a couple of mods merged in from cyanogenmod and leonnib4. I was getting a few random errors, but they went away with simple fixes...Now, I'm getting a new error, and I can't seem to wrap my head around it. It happens almost right out of the gate...every time I type make...
EDIT: New error 41. I seemed to have fixed the old error 1 by removing the previous build from out/target/product/passion, as the error pointed to the obj folder. Everything went smooth until the camera, and now I have a new error. I'm trying to merge in CyanogenMod camera source (for 720p), and I think that's the problem. Could it be something in the framework? I'm lost.
I have set up my build env on a MacBook Pro running OS X 10.5.8 with all the proper tools installed as per the AOSP site's instructions. I have run the envsetup script, and chosen the passion lunch option (yum )...
Anyway, here's the error:
Code:
81 errors
make: *** [out/target/common/obj/APPS/Camera_intermediates/classes-full-debug.jar] Error 41
The full scenario on pastebin: http://pastebin.com/8359mktC
Does anyone have any idea what's going on?
ik this is really old but what did u do to fix this? having the same error compiling cm9

[Q] [Help] Porting Ubuntu Touch ti Xperia L

While trying to port Ubuntu touch to Xperia L(codename taoshan) using cm source code an compilation error is arising.
$host Executable: aprotoc (phablet/out/host/linux-x86/obj/EXECUTABLES/aprotoc_intermediates/aprotoc)
$phablet/out/host/linux-x86/obj/EXECUTABLES/aprotoc_intermediates/src/google/protobuf/compiler/parser.o: file not recognized: File truncated
$collect2: error: ld returned 1 exit status
$make: *** [phablet/out/host/linux-x86/obj/EXECUTABLES/aprotoc_intermediates/aprotoc] Error 1
After googling for a while, most of what I got is it's some kinda problem relating with OPENCV,although I've no idea what it is.
I've treid setting ANDROID_OPENCV=/media/vihit/227480fc-d7e5-4de2-ac02-18da54b81aac/android-sdk-linux/opencv-2.4.10/ but couldn't do further steps because most of them are related to QT projects. Does anyone have any idea what I can do?

Having an issue building cyanogenmod 13.0

Hey guys,
I'm having an issue when building cyanogenmod 13.0. It gets to about 20 min into the build, then fails with this error:
Code:
ERROR: /home/edwin/phonelab/cm-shamu/frameworks/opt/hardware/src/org/cyanogenmod/hardware/PictureAdjustment.java:22: The import cyanogenmod.hardware.HSIC cannot be resolved
ERROR: /home/edwin/phonelab/cm-shamu/frameworks/opt/hardware/src/org/cyanogenmod/hardware/PictureAdjustment.java:46: HSIC cannot be resolved to a type
ERROR: /home/edwin/phonelab/cm-shamu/frameworks/opt/hardware/src/org/cyanogenmod/hardware/PictureAdjustment.java:57: HSIC cannot be resolved to a type
make: *** [/home/edwin/phonelab/cm-shamu/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.hardware_intermediates/with-local/classes.dex] Error 41
if anyone can point me in the right direction to get this straightened out I'd be appreciative.
saintsantos said:
/PictureAdjustment.java:22: The import cyanogenmod.hardware.HSIC cannot be resolved
ERROR: /home/edwin/phonelab/cm-shamu/frameworks/opt/hardware/src/org/cyanogenmod/hardware/PictureAdjustment.java:46: HSIC cannot be resolved to a type.
Click to expand...
Click to collapse
I am building CM-13.0 for LG G4 H811 and found the same problem. It's due to
Change 153678 - cmhw: Add PictureAdjustment stubs
which was just merged this morning. This is the sort of glaring bug that will be found and corrected quickly. Sometimes I wonder whether some folks actually build their code before merging it.
Edit to add:
14:00 EDT - I checked the change comments and the senior devs are aware of the problem and are working on it.
It was reverted about 20 minutes ago. You can either repo sync again, or cd to frameworks_opt_hardware and git revert a8ef044be1eb70c0f8a17f0c40d4c5c08bf71593
http://review.cyanogenmod.org/#/c/153678/
saintsantos said:
Hey guys,
I'm having an issue when building cyanogenmod 13.0. It gets to about 20 min into the build, then fails with this error:
Code:
ERROR: /home/edwin/phonelab/cm-shamu/frameworks/opt/hardware/src/org/cyanogenmod/hardware/PictureAdjustment.java:22: The import cyanogenmod.hardware.HSIC cannot be resolved
ERROR: /home/edwin/phonelab/cm-shamu/frameworks/opt/hardware/src/org/cyanogenmod/hardware/PictureAdjustment.java:46: HSIC cannot be resolved to a type
ERROR: /home/edwin/phonelab/cm-shamu/frameworks/opt/hardware/src/org/cyanogenmod/hardware/PictureAdjustment.java:57: HSIC cannot be resolved to a type
make: *** [/home/edwin/phonelab/cm-shamu/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.hardware_intermediates/with-local/classes.dex] Error 41
if anyone can point me in the right direction to get this straightened out I'd be appreciative.
Click to expand...
Click to collapse
Same issue here when building for jem (the Amazon Kindle Fire HD 8.9"). I'm going to run repo sync and rebuild as suggested in post #3.
Neo said:
It was reverted about 20 minutes ago. You can either repo sync again, or cd to frameworks_opt_hardware and git revert a8ef044be1eb70c0f8a17f0c40d4c5c08bf71593
http://review.cyanogenmod.org/#/c/153678/
Click to expand...
Click to collapse
Thanks. I reverted the commit in my repo anyway, but I'm just glad it was caught and handled.

In AS Ver 2.1.2 , Adding Facebook SDK in build.gradle syncworks,but app launch failed

Hi folks,
After adding this dependencie in build.gradle sync works, while launch application - In mainactivity.java used fragmentPagerAdapter subclass is declared but still its getting,
here its java.lang.ClassNotFoundException (i.e com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run) while debugging.
error exactly that this line:
mainActivityFragmentPageAdapter = new MainActivityFragmentPageAdapter(getSupportFragmentManager());
Thanks In Advance,
All

Cannot resolve symbol problem

Hi everyone
I'm having this issue where I'm getting an error that states, "cannot resolve symbol". These words below are red:
HttpEntity
HttpResponse
ClientProtocolException
HttpPost
DefaultHttpClient
I've tried, with no luck:
1. Build > Clean Project
2. Build > Rebuild Project
3. File > Invalidate Caches/Restart > Invalidate and Restart
My mainActivity.java class is fine but my JSONParser.java class is throwing me these errors, why so? This happened out of no where :crying:
Thanks for reading :laugh:
Code:
package com.apress.gerber.currencies;
import android.util.Log;
import org.apache.http.HttpEntity; // red
import org.apache.http.HttpResponse; // red
import org.apache.http.client.ClientProtocolException; // red
import org.apache.http.client.methods.HttpPost; // red
import org.apache.http.impl.client.DefaultHttpClient; // red
import org.json.JSONException;
public class JSONParser {
}
I had this this issue too. A simple 'gradlew clean' and 'gradlew build' did the trick.
Click on Build->Clean Project and that will perform a gradle clean
BUMP
this has 1year old now but this was the only topic i found aboud this
Cannot find symbol method. findViewById and setText
im on the basics yet, in my last exercice i used it and worked fine, looked on internet and tried almos anything and the problems keep there.
the solutions above didnt work.
Edit:Resolved. thanks

Categories

Resources