Google Cloud Endpoint error at Android Studio - android-studio

While trying to run local dev server
Error opening zip file or JAR manifest missing /../appengine-agent.jar
I am trying solution Error opening zip file or JAR manifest missing : C:\Program
But where and how should I alter the default -javaagent: ?

Add this to your appengine-web.xml:
<runtime>java8</runtime>

Inspired by http://www.itkeyword.com/doc/7711578960168911246/error-opening-zip-file-or-jar-manifest-missing-in-maven-with-gae-and-spring-roo
I tried deleting all the repositories I have downloaded and right clicked on the project and configured it to "clean compile". Then the folder was automatically downloaded.

Related

quickstarts\binaries\use-cases\employee-scheduling seems to be missing

I downloaded optaplanner-distribution-8.20.0.Final.zip to try a demo, but when I launch runQuickstarts.bat and select Employee Scheduling, I get an error :
Launching quickstart (employee-scheduling) failed.
in the browser, and
The quickstart (employee-scheduling) runner JAR file does not exist (C:\optaplanner-distribution-8.20.0.Final\quickstarts\binaries\use-cases\employee-scheduling\quarkus-app\quarkus-run.jar).
in the console.
Indeed, the whole employee-scheduling folder seems to be missing from the use-cases folder. Is there another version of the zip file that contains this folder?

The imported project "C:\Dot42.CSharp.targets" was not found

I installed Shardevelop yesterday and I can't open any Android templates without getting this error message.
The imported project “C:\Dot42.CSharp.targets” was not found
The error message also tells me that there is a .csproj file in my project folder. However, I can't seem to find it.
I got around this issue by copying all the dot42.*.target files to the root of my c:\ drive from C:\Program Files\dot42\Android

Gradle project refresh failed - cause error in opening zip file

Im using Back Track r3 and android studio 0.8.6, every time i start a project i get
"Gradle project refresh failed - cause error in opening zip file"
error message, what can i do to fix it?
update:
after trying to delete /gradle folder in plugins
this is what i get.
only more errors i cant rebuild the project
Delete everything in the .gradle directory in your home directory, and also the .gradle directory in your project, and rebuild.
The rebuild will take some time because it will need to re-download a bunch of Gradle and project dependencies, but I think one of those has become corrupted.
Old, but had it today on a react native generated project :
so I deleted the content of the gradle dir at the root (myproject-dir/android/gradle) of the android project -> it redownloaded everything, and it was fine !
Hope this will help someone.

Adding cache worker role causes build error

I have an Azure cloud service project to which I am adding a cache worker role. While local build goes through fine, I get the following error on my server builds :
CloudServices38 : The entrypoint dll is not defined for worker role <cachename>
What is wrong? How do I fix this?
Make sure all the Azure DLLs are marked Copy Local = True in the properties window. Also, package your projects, then unzip them. Once you build the package, you will have a file YourProject.cspkg. Change the extension from .cspkg to .zip and extract the files. In these files you should see a file with the extension .cssx YourProject_.cssx. Change the extension from .cssx to .zip and extract again. You project that is deployed will be in the folder YourProject\sitesroot\0 - verufy all the files you are expecting (i.e. content and everything that is in the bin directory on your local build.
You need to run a Build and a Publish separately. I ran into the same problem on my project and this fixed it.
1) Visual Studio Build (or MSBuild) action with arguments /t:Build (clean here)
2) Visual Studio Build (or MSBuild) action with arguments /t:Publish (do not clean here)
Note: I had to run these actions separately (not /Build;Publish) otherwise I got an error about the cloud service entry point.
Pieced this together from this question and from here and here.

Unable to execute dex: Multiple dex files define Lcom/actionbarsherlock/R$attr;

i use ActionBarLibrary in a library, that I use in a my app
i got this message when i try to compil
[2013-01-28 16:09:46 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/actionbarsherlock/R$attr;
[2013-01-28 16:09:46 - comfree] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/actionbarsherlock/R$attr;
As asked here, I was facing the exact same error yesterday. I pinpointed the cause of the error to /bin/classes. If I deleted the /classes dir before running the app, the app would compile and run. Of course, when I tried to actually export the app, the /classes dir would come back and along with it the error.
The solution to my problem was to install the latest version of Eclipse. You will then need to install the latest version of the ADT but all the Android versions you have downloaded earlier for the other Eclipse installation will be detected and used for this one as well. When I export or run the app through Eclipse, the /classes folder does not appear now.
right click on project to go project property>>java Build path>>choose Order and Export and then Unselect all except android4.0 or what every you have then clean and build your project ,now error not come again..
The solution to my problem was that I deleted the jar files which I copy pasted in project's lib folder. I explicitly imported external jars in build path

Resources