I am trying to build an app using open street map, and after adding flutter_osm_plugin it hangs on "Running Grade task 'assembleDebug'".
Using flutter run -v I got this:
Failed to get resource: GET. [HTTP HTTP/1.1 521 : https://jitpack.io/com/github/MKergall/osmbonuspack/6.9.0/osmbonuspack-6.9.0.pom)]
Is there an alternate way to download the resource and what would it be?
Thanks.
Jitpack servers are down, you can get more updates here: https://github.com/jitpack/jitpack.io/issues/5337
Related
My iOS app is working very well but after I edited Android Manifest and added Google Maps information, my Android app at first was working but it couldn't connect with Google Maps. I edited it again and after that I changed with previous saved one that I had but now I send you the final error that Android Studio shows me, please help to fix this problem.
The error is this:
zipro W 09-13 09:36:37 8721 108688 Error opening archive
/Users/johnhabibpour/StudioProjects/08-19-2021
AM/absolutestonedesignpro/build/app/outputs/flutter-apk/app.apk:
Invalid file ERROR: dump failed because resource AndroidManifest.xml
not found Failed to extract manifest from APK: ProcessException: The
command failed Command:
/Users/johnhabibpour/Library/Android/sdk/build-tools/31.0.0/aapt dump
xmltree /Users/johnhabibpour/StudioProjects/08-19-2021
AM/absolutestonedesignpro/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml. No application found for
TargetPlatform.android_x86. Is your project missing an
android/app/src/main/AndroidManifest.xml? Consider running "flutter
create ." to create one.
I'm facing this error for long time:
Execution failed for task ':lib-change-scene:bintrayUpload'.
Could not create package 'RajuSE/change-scene/change-scene': HTTP/1.1 404 Not Found [message:Subject 'R
ajuSE' was not found]
Sometimes this task even freezes on 98% and doesn't proceed.
Refer Issues I posted on github:
https://github.com/bintray/gradle-bintray-plugin/issues/189
https://github.com/bintray/gradle-bintray-plugin/issues/188
Update : I'm able upload library using uploading zip solution.. it is has been approved.. but definitely looking for gradle way solution.
Seems like your username on bintray is rajuse all non capital letters.
But you still put an orgName with the value RajuSE.
If you are trying to upload to your user context than remove the orgName.
In Bintray you can upload content to either an organization or a user.
Please make sure your bintray username configuration are same (case sensitive) as your actual username.
When I try to run an android code in Processing 2.2.1 Android mode I get the following message:
Error from inside the Android tools, check the console.
And then:
java.io.FileNotFoundException: C:\Users\USER\Documents\Processing\modes\AndroidMode\icons\icon-96.png (The system cannot locate the resource specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at processing.app.Base.copyFile(Base.java:2698)
at processing.mode.android.AndroidBuild.writeRes(AndroidBuild.java:807)
at processing.mode.android.AndroidBuild.createProject(AndroidBuild.java:169)
at processing.mode.android.AndroidBuild.build(AndroidBuild.java:91)
at processing.mode.android.AndroidMode.handleRunDevice(AndroidMode.java:227)
at processing.mode.android.AndroidEditor$16.run(AndroidEditor.java:513)
BUILD FAILED
C:\Users\USER\AppData\Local\Temp\android9132488509980035650sketch\build.xml:9: The entity name must immediately follow the '&' in the entity reference.
Total time: 0 seconds
What can I do to solve it? I am a total beginner so please try to be as specific and clear as possible.
Thanks!
Program wants this file "C:\Users\USER\Documents\Processing\modes\AndroidMode\icons\icon-96.png" and cannot find it.
I am trying to upload my library, ListBuddies, to maven. To do that I am using the gradle-mvn-push github project of #ChrisBanes . I follow all the steps that he mentioned on his repo plus some others that are needed before that repo is used:
I opened a Jira issue and I waited until It got resolved
I have created GPG keys
I configurate ListBuddies's build.gradle files and the gradle.properties
I have created another local gradle.properties at "/Users/jpardogo/.gradle/gradle.properties"
local gradle.properties file (signing keys are only need for release so should not be a problem for the SNAPSHOT):
//These are the username/password that I use for:
//[JIRA](https://issues.sonatype.org)
//and [NEXUS](https://oss.sonatype.org
NEXUS_USERNAME=jpardogo1
NEXUS_PASSWORD=jira-pass
//This is the key ID that I obtain doing "gpg --list-keys" on the terminal
signing.keyId=my-keyid
//This is the paraphrase I set when I first created the key
signing.password=my-paraphrase
//That's the path to my secret key ring
signing.secretKeyRingFile=/Users/jpardogo/.gnupg/secring.gpg
Look like everything is setup properly but when I do:
gradle clean build uploadArchives
At the end I receive code ERROR 401:
:library:uploadArchives
Uploading: com/jpardogo/listbuddies/library/1.0.0-SNAPSHOT/library-1.0.0-20140209.151716- 1.aar to repository remote at https://oss.sonatype.org/content/repositories/snapshots/
Transferring 67K from remote
:library:uploadArchives FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':library:uploadArchives'.
> Could not publish configuration 'archives'
> Error deploying artifact 'com.jpardogo.listbuddies:library:aar': Error deploying artifact: Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/com/jpardogo/listbuddies/library/1.0.0-SNAPSHOT/library-1.0.0-20140209.151716-1.aar. Return code is: 401
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
I have been looking for an answer the whole day of yesterday and today as well but I couldn't solve it. The error 401 reason is good explain in here, but I couldn't solved anything and I also read that It could be due user permissions problem although I register on Jira as the guide says.
I hope you can help me with that and If you need any more information, please let me know. Thanks.
EDIT: I want to update the question with the link to the jira ticket and its comments.
I finally solved it. All the configuration was ok. The problem was on the file gradle.properties. Because I copy paste the structure of the file, a hidden tabulation reminded next to the NEXUS_USERNAME, so the username actually was being sent with the tabulation and I was receiving a authentication error.
Sometimes things are more simple than you think, and you don't see them. The first thing I will do the next time will be to check the format of the files.
I had exactly the same problem, and the reason was: my password (generated) contained a backslash \.
Solution: Backslashes need to be escaped in gradle.properties!
Example:
ossrhPassword=partBeforeBackslash\\\\partAfterBackslash
instead of:
ossrhPassword=partBeforeBackslash\partAfterBackslash
For me the problem was that I was uploading a version that already exists in the rep. The solution was just to change the 'version' in the build.gradle file.
I have two problems with android SDK.The first is that after installing sdk manager I can not install new plateform,tools,sysimage etc online it gives following error:
Fetching
Validate XML
XML verification failed for .
Line -१:-१, Error: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <>.
Fetched Add-ons List successfully
Fetching URL:
Validate XML:
XML verification failed for .
Line -१:-१, Error: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <>.
Fetching URL:
Validate XML:
Failed to fetch URL , reason: addon.xml
Done loading packages.
I tried force https.
http in place of https.
I am using DSL for internet and not using any proxy to connect to internet.
For the sake of removing this problem I also tried proxy server but all in vain.
So I installed all the updates offline APD v2 helped me with downloading.
I used both Eclipse and Netbeans for dev.Everything worked fine,until I tried to run a new project and even sample project.
On Eclipse it gave me following error:
Same problem was with netbeans:
Creating redLight-debug-unaligned.apk and signing it with a debug key...
D:\Android\android-sdk\tools\ant\build.: The following error occurred while executing this line:
D:\Android\android-sdk\tools\ant\build.: The following error occurred while executing this line:
D:\Android\android-sdk\tools\ant\build.:
com.android.sdklib.build.ApkCreationException: java.lang.ArrayIndexOutOfBoundsException: 13
I am new in android app development and trying to rebuild my Java Application for android platform,but I am stuck in first step.
Please help me here.
Solution for your first problem is simple : Line -१:-१, it shows u r language for windows os is set to hindi (IN_HI).
Goto Control panel region & language option change language to English for all formats.
Restart machine & fetch xml.
I am also facing second problem solution to that is not yet found
check this: https://groups.google.com/forum/?fromgroups#!topic/android-developers/BvO5g6RMamo
Also I have updated bug in Android issues :
http://code.google.com/p/android/issues/detail?id=28824