After updating Android Studio, I'm facing these errors:
Failed to find bytecode for javax/swing/JApplet
Does someone knows what the problem is?
Looks like it is a bug in 3.1. I think this issue is similar enough to be the same.
https://issuetracker.google.com/u/1/issues/72811718?pli=1
I wasted so much time trying to fix it.
I eventually completely uninstalled Studio 3.1 including User files. Then reinstalled 3.0
Related
Admittedly, I have very minimal programming experience and this is my first time using Android Studio so bear with me. I am looking to determine what's causing my Samsung J3 Prime to crash and Firebase Crashlytics seemed like a good route to take.
I've been following the guide found here and am on Step 3, adhering to the 'Kotlin+KTX' instructions (that's just what I happened to choose for the project), but when attempting to sync the build I'm getting error
Failed to resolve: com.google.firebase:firebase-crashlytics.ktx: Affected Modules: app
yet when I remove the .ktx suffix as per the Java instructions it syncs successfully -- why is that? Am I missing or misreading something?
Any help or guidance is appreciated -- thanks!
First time with JavaFx. To begin with, I've made sure that my version of Java is, indeed, Java 13: Screenshot:
And, I've followed all the directions on the JavaFx tutorials: https://openjfx.io/openjfx-docs/#introduction
I've spent so many hours on this issue. I found similar problems, but the closest "solution" to my problem assumed that the VM customization was put in verbatim, but I have made sure to use the correct path. I have tried the tutorials for both modular and non-modular applications. I have customized everything, for the project itself to Appearance and Behavior preferences. I downloaded the separate JavaFx 13 file from via Gluon and made sure I was able to access them (I have a Mac, so this required a security override).
I have gone so far as to uninstall all Java and JavaFx libraries from my computer and reinstalled them.
After trying what seems to be everything, I have the same error :(
Screenshot:
Otherwise, if I try to toggle some, I'll get the classic (but dreaded) result:
"Error occurred during initialization of boot layer
java.lang.module.FindException: Module JavaFxProject not found"
Does anybody have some insight into this? I'd love to find out it was a tiny bug that I could easily eliminate, even though I've already spent so many hours trying to solve this problem myself.
Thanks in advance.
After coming back to a part of my code base that hadn't been touched for a few weeks, I got the rather terse message: "Could not initialize class sun.security.ec.SunEC" from my functional REST test cases.
I'm not making much progress figuring out how tackle this one, there's no other error information (no stack trace) and not much on the Internet. I expect an update has changed something since everything was working.
Does anyone have any suggestions or insight for fixing this one?
Ubuntu 16.10
Java 8, Oracle, "1.8.0_131"
The problem was caused by a missing library libsunec.so. I was using the alpine docker container V3.4 which contained the library, but when I upgraded to V3.5, a "glich" in my build process actually had me still using V3.4. When that was indirectly "fixed," and I unknowingly started using V3.5, the error was suddenly, and confusingly, uncovered because libsunec.so was left out of alpine V3.5. See: https://bugs.alpinelinux.org/issues/6809
I am using Java Web Start Application with sun-glassfish 3.1 and Java7 and self signed certificate. I upgraded chrome browser to version 45 and started getting ERR_CERT_AUTHORITY_INVALID errors.
Before upgrade I had "Not Trusted...proceed?" click-through once and it was not asked later. Now I get ERR_CERT_AUTHORITY_INVALID error again and again. Strange thing is sometimes it is working and I don't get any.
I thought it might be related with Glassfish because it mostly occurs when load is high. I have seen some bug reports similar to my case but could not be sure if I'm having the same problem. I'm a novice at this area so please forgive any mistakes. Should I wait for a fix in chrome or is there anything I could do to understand and fix the error?
I am new to Android Development/Java Programming/Eclipse so please bear with me. I've been going through the Android Developer Training (developer.android.com/training) and the Hello Android book by Ed Burnette and keep running into a problem that is making it difficult to move forward. I'll do my best to describe it and am hoping that the community can help me resolve it.
I began seeing this issue with the Android Developer Training (around Adding the Action Bar -> Adding Action Buttons) and it became impossible to circumvent at Hello Android's 3.3 Creating Opening Screen when I tried adding the Sudoku buttons. The only change I made when going through Hello Android was adding the Android Development Toolkit (ADT) for Eclipse. I don't recall this being a required download going through the Android Developer Training page so I am wondering if its addition could have contributed to the problem.
The issue that I keep running into is that when I go to build the project, Eclipse keeps telling me:
action_settings cannot be resolved or is not a field
activity_sudoku cannot be resolved or is not a field
container cannot be resolved or is not a field
fragment_sudoku cannot be resolved or is not a field
sudoku cannot be resolved or is not a field
I've tried several fixes that I saw on in the forum including deleting the import.android.R from the sudoku.java file in my src folder but that brings up a bunch of errors that say R cannot be resolved into a variable. I've tried cleaning and rebuilding and restarting Eclipse, methods that occasionally worked before Hello Android and the plugin, but keep getting the same errors. I've also tried setting to Android 3.0 and higher thinking that might be an issue but there was no change. Occasionally I get another error regarding not being able to find the path for a container but I've been playing around with the IDE for 15 minutes and can't seem to get it to pop up again.
I could really use some help on this.
Hope to hear from you,
Yusif Nurizade
This solution may, first and foremost, demonastrate how green I am with Android programming but I believe I found the solution.
Initially following the Android Developer Tutorial, I downloaded the latest versions - 18, 19, 20, etc. When I was creating the project, however, I was specifying much early versions for compatibility; all the way down to 7 or 8. I looked into this because I remembered seeing a message from the IDE regarding the Action Bar and how some commands weren't supported on Version X.
I went back and downloaded all the versions down to 7 or 8 and set the compatibility accordingly. The example now works with minimal other changes. I realize that I may be overlooking something but this is the only major change I made and it seems to have done the trick.
Hopefully this will help other newbies!
Yusif Nurizade