Inspector: Expected to find at least one React renderer - android

I am working on a react-native app and set up my Android App. I am using
"react": "16.3.2",
"react-native": "0.55.3"
Genymotion Version 2.12.0
React Native Debugger 0.7.18
I have some styling problems and wanted to solve them. For that I wanted to use the Inspector. Nothing else is enabled. Toggling the inspector works. When I try to inspect an item with clicking on it, I get this error:
Debugging with React Native Debugger works, if that helps. Inspector works on iOS. Has anybody an idea what the problem is?

I recently came across this issue and it drove me nuts.
The solution to this was to remove a package which was using another package that was causing the issue. In my case, I had to uninstall react-native-root-toast
Found the answer in the last comment in the link below:
https://github.com/facebook/react-devtools/issues/1032
Search the web and this was the only answer that worked. Hope it helps someone

Related

Getting an App APK

Hey guys and girls for a the past week I've grown a lot of interest in android studio (even without knowing quite much about it) I decided to create an app that I deemed quite useful. However the app required maps to be integrated in it and I really did not know what I was doing and at one point I started messing with the settings and then all hell broke loose and I kept getting AAPT2 errors and I even tried to fix this issue with the gradle properties line that you add (I forgot the line of code to add). Anyways it still didnt work. However I rembered that I always kept the good version (before I broke everything) of the app on my phone. So when I go in my phone the app is there and it works just fine. Ive tried so many things to get the source code from the app on my phone without any succes. My question is, how can I get the source code back from the working app onto my laptop to continue coding in android studio? If it helps I am using Linux 18.04 LTS and running the newest version of android studio. Thank you for any help from you guys. This means a lot to me.
You can’t get back the ‘source code’ from an already compiled app.
You should consider using some version control platforms like git from the next time

Ionic Searchbar Doesn't Work

I faced off a problem that I can't solve. I've searched on the web before posting this but I found nothing really useful for me.
Straight to the point. This is the problem, I have a ion-searchbar that does not receive keyboard input in Android device. I run that with ionic cordova CLI and the build was successful.
Please help me, all the other features of the app work well, I only have to fix this.
<ion-searchbar [(ngModel)]="searchedText" [showCancelButton]="shouldShowCancel"
(ionInput)="onInput($event)" (ionClear)="onCancel($event)"></ion-searchbar>
That searchbar does not receive any character of my keyboard input.
If I run it on local with ionic serve it works instead.
What could be the problem?
Found the solution.
I put that searchbar in ion header instead of ion content. I changed that and then it worked.

Android Studio is not accepting new project

I want to start learning Android programming and recently downloaded the Android Studio. Now if I want to start a new project, I can't get past this initial screen. Whenever I click next, the window just jerks, which I guess is indicating that I am doing something wrong. So how can I solve this problem?
Note: I am a total beginner but I am genuinely trying to learn and searching the web for the problem didn't give me any solution.
I guess something is wrong with your Android Studio / JDK installation. In the status bar on the bottom, I can see a NullPointerException. I think this is the cause. Try to open the Android Studio Log and hopefully the error is better explained there.
How to find Android Studio Log
Maybe you have unknown characters in your package name like "ı,ö,ü" ? And you may want to watch a android starter tutorial video which has a part about starting a project to see if you are doing something wrong?
If it couldn't be a good answer sorry for it but that's all i can offer :3

Errors using the apkTool

I have used this site to help me with the apkTool in the past, however I have today come up against an error I can't quite get my head around.
I am DE-compiling an APK which was written by a predecessor as it requires a few tweaks and he hasn't left any source files behind..
So, As far as I'm aware I have the latest tool available, using windows 7 64bit.
I have added the framework from my test tablet which the app runs fine on. And this is what I get..
This is the error screen
http://img199.imageshack.us/img199/4291/63yc.png
Anyone have an idea at what the issue is here? Any help really appreciated.
There's an open issue on a similar exception (scroll to the bottom):
https://code.google.com/p/android-apktool/issues/detail?id=477

Issue with using LocalStorage in PhoneGap for Android

To resolve : Application error - A network error occurred. (file:///android_asset/www/messagedetails.html?Id=29) in Android 4.0,I am using LocalStorage.
This approach gave me the solution for the problem.But when the App is not run for long time or kept on hold., I am facing the issue again.
I am not able to navigate from one page to another page. :(
I added the code to clear the App cache , is it the right approach???
Thanks in advance.
I do believe you are experiencing the "Unknown Chromium Error -6" issue. It's a known error in the Android 4.0 release that the file-URL can't contain parameters. (See further here: Android 4.0 Issue). There are a number of possible solutions;
Redesign to use LocalStorage for passing parameters around.
Upgrading PhoneGap to 1.7+ (Cordova), seem to solve the issue. I haven't tried.
Hope it helps.

Categories

Resources