Help building - Android Q&A, Help & Troubleshooting

Hello guys,
I build ReVolt ROM from source and am facing a weird issue and was hoping someone could help ...
That's the error that occurs :
/home/johnhany97/Revolt/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/app/ActivityThread.java:85: cannot find symbol
symbol : class NonConfigurationInstances
location: class android.app.Activity
public final android.app.Activity startActivityNow(android.app.Activity parent, java.lang.String id, android.content.Intent intent, android.content.pm.ActivityInfo activityInfo, android.os.IBinder token, android.os.Bundle state, android.app.Activity.NonConfigurationInstances lastNonConfigurationInstances) { throw new RuntimeException("Stub!"); }
Click to expand...
Click to collapse
Does anyone know how to fix it ? Sources can be found at github.com
Thanks in advance ...

johnhany97 said:
Hello guys,
I build ReVolt ROM from source and am facing a weird issue and was hoping someone could help ...
That's the error that occurs :
Does anyone know how to fix it ? Sources can be found at github.com
Thanks in advance ...
Click to expand...
Click to collapse
OK ..... At least can someone help me understand the error ?? I just can't get the fact That no one can help me here or on RootzWiki ..... It just doesn't make sense to me !!! Even of just someone would give me an idea what might be causing it I will highly appreciate it !! No idea is a bad idea ...

Make clobber and try

Related

Urgent help in asembly!

Guys... please help me here:
Code:
int fixmuldiv2 (const int a, const int b)
{
int result ;
__asm__ ("smmul %0, %1, %2" : "=r" (result)
: "r" (a), "r" (b)) ;
return result ;
}
... my device have msm7227 chip, in compilation I got "Error: selected processor does not support `smmul r3,r2,r3"... please give me replacement for smmul instruction in this code
Here http://bit.ly/u7TD55
Sent from My Samsung Galaxy S2 running Paranoidandroid Rom.What else if not?=P
Dude, big thanks, I newer know about google, so thanks again for your help ... in any way I got it fixed but you will newer know how I managed it!
bartoloandre98 said:
Here useless piece of crap URL
Click to expand...
Click to collapse
Your post added absolutely nothing to the topic and it has been a fail in many ways. If, in the future, if you can`t help someone, just save yourself the time, trouble and bandwidth.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A

CyanogenMod Porting

I have developed interest in rom development. As i set my sights on this new journey an error have hit me , have tried everything in vain ... I would be glad if you find time to assist . The error "curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring."
Thanks.
zaczx said:
I have developed interest in rom development. As i set my sights on this new journey an error have hit me , have tried everything in vain ... I would be glad if you find time to assist . The error "curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring."
Thanks.
Click to expand...
Click to collapse
That's not an error, that's a warning. And it doesn't fail on that. The real error is somewhere else.

Get method which calls another method (API)

Hi,
For example, we have API: Toast.show(params). I need to hook this API and get class/method name which uses this API (who calls it). Btw, how to check if method is hooked? I dont want re-hook things many times with the same hook.
pyler said:
Hi,
For example, we have API: Toast.show(params). I need to hook this API and get class/method name which uses this API (who calls it). Btw, how to check if method is hooked? I dont want re-hook things many times with the same hook.
Click to expand...
Click to collapse
I used a code like this to hook a method in a View:
Code:
public void handleLoadPackage(LoadPackageParam lpparam) throws Throwable {
XposedHelpers.findAndHookMethod(View.class,
"onTouchEvent",
MotionEvent.class,
new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param)
throws Throwable {
//things...
}
}
});
}
So, in your case, you may use this with Toasts, for example, and then:
- if you want to obtain information for you, use XposedBridge.log
- if you want to use the informations in your module, you can use intents and broadcast receivers
It's an idea, let me know if it was what you were looking for :fingers-crossed:
Thank you for help
But.. I need to know who (method in app's code) calls it after hooking, not before.
pyler said:
Thank you for help
But.. I need to know who (method in app's code) calls it after hooking, not before.
Click to expand...
Click to collapse
Mm..I don't understand. You want to know what method in what app cals a method in an other app. But do you want this because you want to use this information IN your module (dinamically) or to develop your app?
Sent from my Vodafone 875
In the module.
pyler said:
In the module.
Click to expand...
Click to collapse
So, you want to obtain the name of the method which called the method you are hooking... Am I right?
Is the method an instance method?
Sent from my Vodafone 875
Exactly. Yes.
pyler said:
Exactly. Yes.
Click to expand...
Click to collapse
I think this information is normally held in the call stack but I dont know how to get that information from within the hook.
Haven't used it but
StackTraceElement has getClassName(), getFileName(), getLineNumber() and getMethodName().

can't sync ubuntu touch sources

can anyone help me out with this issue! I'm trying to port ubuntu touch for my device(Samsung Galaxy J5). But everytime when am trying to sync the sources using phablet-dev-bootstrap or repo init it throws out an error saying error 503 service unavailable. And what's the current stable branch for building ubuntu touch!!
ERROR:
[email protected]:/home/techkid# phablet-dev-bootstrap -r /home/techkid/cm13/ utouch/
INFO: phablet-dev-bootstrap:Changing to workdir /home/techkid/utouch
INFO: phablet-dev-bootstrap:Initializing repository
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
Get https://code-review.phablet.ubuntu.com/p/aosp/platform/manifest.git
error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503 Service Unavailable
fatal: The remote end hung up unexpectedly
EDIT: Close this thread!! Have contacted canonical system admins about the issue,servers were down at that moment and now they have restarted the servers so everything's up and running fine.
ganesh varma said:
[...]
EDIT: Close this thread!! Have contacted canonical system admins about the issue,servers were down at that moment and now they have restarted the servers so everything's up and running fine.
Click to expand...
Click to collapse
How did you contact them? Because I want to try to port ubuntu touch to my phone, but have the same error downloading sources.
Thanks,
Stefano99
Stefano 99 said:
How did you contact them? Because I want to try to port ubuntu touch to my phone, but have the same error downloading sources.
Thanks,
Stefano99
Click to expand...
Click to collapse
You can contact the system administrators at channel #canonical-sysadmin in freenode IRC or upvote my bug and comment over here so that canonical will take any action immediately.
ganesh varma said:
You can contact the system administrators at channel #canonical-sysadmin in freenode IRC or upvote my bug and comment over here so that canonical will take any action immediately.
Click to expand...
Click to collapse
Submitted to your thread. Hope they solve this bug fast:fingers-crossed:
PS: now it works, thank you again!
Thank you,
Stefano99

RR-OConstruction failure

error:Checking api error
Please help me find out. Thank you

Categories

Resources