How can I fix this textmate bundle load error? - java

I have this error when running Android Studio and I do not know where the problem comes from and how to solve it. I have just started learning Android programming.

It seems your Plugin Error Plugin "JetBrains Marketplace" is incompatible.
Download the textMate Bundles here.
Then extract the folder[bundles] and put it in the your Android
Studio's plugin folder.
For example:
C:\Program
Files\Android\Android Studio\plugins\textmate\lib
Restart AndroidStudio

Related

bazel build error - tensor flow

I am struggling to put my model in the Android studio.
In order to use my model in the Android studio, I also know that I need to put the libandroid_tensorflow_inference_java.jar and libtensorflow_inference.so files into the assets folder in Android Studio.
So I used git to download the tensorflow library and use it to build .so and .jar files.
During the creation of the .so file I faced a problem that I could not solve.
I installed the SDK in the Android studio according to the procedure, and since I currently only support NDK version 17 in the studio, I installed version 12 externally and unzipped it.
~/tensorflow/WORKSPACE
In order to build a bazel, I modified the content of WORKSPACE in the root folder of tensorflow as shown above. this
But I had to face these terrible errors.
this this
To solve this problem, I changed the NDK location and installed another version of NDK. I tried to take other actions but the error did not go away. I have been working from yesterday to solve this problem. I need your help.
It looks like you're missing the -std=c++11 flag.
Try passing this additional Bazel flag: --cxxopt=-std=c++11.

Android Studio not working after Reinstall

I've been having some struggles with building my app after Reinstalling Android Studio. The cues I've gotten have been related to either Java location or installation. With the jre already installed it seems more likely not to be an issue with JAVA.
I've tried importing my project, copy and pasting from .txt files, reinstalling java, redefining java PATH, changing build dependencies, downloading command line sdk manager to build outside of the ide, erasing build caches, and I also let Android Studio rewrite properties.profile when importing Android Studio Project.
Another strange thing, when I create a directory in the project structure it shows up when the ide is initiating before gradle builds. After gradle builds the folder is no longer visible.
EDIT
error: package R does not exist
error: cannot find symbol class appcompat
UPDATE
This seems like a common problem. I've tried to follow most of the current questions on java incompatiblity but still haven't come up with a work around. I downloaded oracle's jdk (unnecessarily) and pointed the studio project at it. Created a shortcut using the jdk java.exe and placed it in Studio core, added java to the PATH which allowed gradlew build in the terminal to initiate but not complete. What are the next steps?
UPDATE
Just in case somebody else stumbles onto this. This post and also this one got me there.
The fix ended up being an import of the .R file. com.example.android.recyclerview.R Hope it can help

Android Studio aapt.exe missing error message after importing cordova project

Error:Execution failed for task ':CordovaLib:processDebugResources'.
aapt is missing on 'C:\Users\rv498\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt.exe'
Hello, I have done importing cordova project to Android Studio before with no problems. My android studio is the latest stable version because I reinstalled it today (3/17/17). Please help thanks.
BTW, the reason I started to import to Android Studio from Cordova is because I was starting get message about gradle wrapper missing from cordova CLI. I suspect this is SDK Manager issue and I went there but after few attempts, nothing really progressed.
-I had same issue so i opened C:\Users\Sheriff\AppData\Local\Android\sdk\build-tools\24.0.2
-i saw aapt2.exe then i changed it to aapt.exe
-Closed my project on the android studio then opened it back it was working perfectly.
Quick solution
check if aapt.exe is in fact missing C:\Users\rv498\AppData\Local\Android\Sdk\build-tools\25.0.2\
it's there? echeck perms, check %PATH%
it is not there? find where it is. Copy it to the location above
of check why it looks for it in that place. Is there's any config file that got the above path? If so, edit it.
aapt.exe file moved to the latest sdk build tools folder
I just found aapt.exe file in my latest Android-SDK folder (Android_SDK\build-tools\28.0.3)
You can check your latest sdk build-tools folder
or
You can search on total Android SDK folder by file name

Gradle Android Build Project Error: Could not find meta-data resource

Brand new install of the Android SDK, and Android Studio. Brand new project, literally no changes to any file in the project. Working AVD, running 4.4.3 (or something similar). I get the following error:
Gradle 'Gigviz' project refresh failed.
Error:Could not find meta-data resource 'META-INF/services/javax.xml.datatype.DatatypeFactory' for service 'javax.xml.datatype.DatatypeFactory'.
The best reason I can think of for this error is that I'm missing some component of the javax.xml.datatype.DatatypeFactory dependency. Has anyone encountered this error before?
I'm on OS X Yosemite, latest version of Android Studio.
Download this : http://www.java2s.com/Code/Jar/j/Downloadjavaxxml134jar.htm
Put it inside your JDK folder, in your program files. Something like this :
C:\Program Files\Java\jdk1.8.0_31\lib\missioncontrol\plugins
And see what happens.
Found this on Gradle's forums, same error cause by a duplicate set of jars, inside the JDK's lib/endorsed folder. Usually when I get any build errors with META-INF in them, it is because a duplicate files somewhere. Also make sure you are using Java 1.7 or lower.

Android Studio Update: Cannot Load Project, Intellij Fatal Error

I just updated my ubuntu and then the Android Studio. The instructions told me to move the SDK folder into it's own folder in order to install the new Android Studio, which I did. I was having trouble with gradle. Now I cannot even load the project I was working on.
The error message is:
Cannot load project: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.openapi.vcs.changes.ChangeListManager'
Does anyone know what's happening? I am using openjdk.
I just uninstalled and reinstalled on Ubuntu, fixed it.
But I now gradle is all effed up. sigh...
You can uninstall the plugins in the bottom of the configure. Then restart the idea.

Categories