Unknown host 'android-sdk.is.com'. You may need to adjust the proxy settings in Gradle. Enable Gradle 'offline mode' and sync project - gradle

enter image description here
enter image description here
Unknown host 'android-sdk.is.com'. You may need to adjust the proxy settings in Gradle.
Enable Gradle 'offline mode' and sync project
how to solve this

Related

Error on getting debug port :: Unable to authenticate on RDS server using current security information. (Adobe's ColdFusion extension)

I installed Adobe's ColdFusion extension. I added local server (127.0.0.1:80), created workspace and now I want to debug my project. I opened some cfml file, I go to "Run and Debug" tab and click "Run and Debug" button. I get the following error messages:
Debugger Stopped
Error on getting debug port :: Unable to authenticate on RDS server using current security information.
What do I need to do to be able to debug my code?
Additional stuff:
Debugging works perfectly fine in Eclipse's CF Builder. In CF Administrator debug port is set to default - 5005. I don't really know what that RDS (Remote Development Service) is but I don't remember having to set that up for Eclipse's CFB (even if I did). Do I have to have RDS to be able to debug?
The most useful piece of documentation from Adobe I was able to find is located here:
https://helpx.adobe.com/sg/coldfusion/coldfusion-builder-extension-for-visual-studio-code/debug-applications.html
Quote:
Run and debug in VS Code
If you have not configured running and debugging, then VS Code
displays the Run start view.

Run and Debug is a custom debug option provided by VS Code. If you
click Create a JSON launch file and follow the prompts, you can
associate your file with "CFML Debug" profile and then use it to run
the debugger.
CFML debug has overridden VS Code’s default debug and run commands.
So, debugger can be started without creating json file.
But even if I create debugger launch json file and then click green debug triangle I still get the same error message.
Update
I got RDS enabled and was able to successfully connect:
I go to "Run and Debug" section of vscode, select "CFML Debug" configuration from dropdown to create debug config, click on a green triangle and get the following error:
Cannot read properties of undefined (reading 'document')
I had a clean reinstall of vscode and Adobe's ColdFusion extension is only one I have installed:
Small edit/update:
I am also able to control CF server (stop/start/restart) from within vscode:
Question:
What do I need to do to fix "Cannot read properties of undefined (reading 'document')" error?
You need to enable RDS in CF administrator in Security section.
You can choose the RDS password or no authentication as per your preferences. Then, you would need to provide the authentication information in VSCode while adding the Server.
You can find more detail about the VSCode extension including debugger in this video - https://youtu.be/90sOeP48TS0?t=2630

where is the option for Active profile set in intelliJ?

where is the option for Active profile set in IntelliJ ?
How to set the application.property specifically using Active profile.?
Where to find the option for Active profile in IntelliJ on Windows OS.?
I use -Dspring.profiles.active=dev, and put it in the VM options.
To do this, you have to go to configurations—as in the image—and add the VM Options section.
After doing this, enter -Dspring.profiles.active=dev in the box that appears to you.

Received 403 from server (Forbidden)

Please i need someone to help me out of this, am new, I got these error while trying to build apk
Could not GET 'http://dl.bintray.com/jlmd/maven/com/faltenreich/skeletonlayout/2.0.1/skeletonlayout-2.0.1.pom'. Received status code 403 from server: Forbidden
along side this error:
Disable Gradle 'offline mode' and sync project
[Error .apk]
New location to toggle Gradle's offline mode To enable or disable
Gradle's offline mode, first select View > Tool Windows > Gradle from
the menu bar. Then, near the top of the Gradle window, click Toggle
Offline Mode Gradle offline button in the Gradle panel..
Please check first whether Offline mode is truly deactivated via Help / Find Action...: Type "offline mode" into the dialog and check whether "Toggle Gradle Offline Mode" is set to "Off". If it was set to "On", toggle it and try syncing again.
If this does not work, the problem might have something to do with the sunset of JCenter. Try a more current version of this library, e.g. com.faltenreich:skeletonlayout:4.0.0 which is hosted on MavenCentral (mavenCentral())and remove JCenter (jcenter()) from your repositories. Then try syncing again.
Disclaimer: Am developer of the library from the error message

How to allow geopositing in Intellij Idea and apply chrome flags "unsafely-treat-insecure-origin-as-secure"

Is there a way to pass development browser flags in IntelliJ Idea (or WebStorm) ? (as it is in chrome "unsafely-treat-insecure-origin-as-secure" StackOverflow answer)
If I try to get user geolocation with
navigator.geolocation.watchPosition
I get this error and it doesn't allow me to debug my webapp directly from IntelliJ
But I successfully debug it in Chrome in dev tools
Seems to be in IntelliJ there is no place to add dev-flags
Settings (Preferences on macOS) | Tools | Web Browsers
Go there, find your browser (or just create your own custom entry) and add command line arguments or select custom data directory (that points to existing user profile) there.
To ensure that those flags/params will be applied you would need to have that browser closed when launching your Run/Debug Configuration.
In your case you should add --unsafely-treat-insecure-origin-as-secure="http://192.168.1.101:3000" or any other flag separated with a space.

Console DBCS issue in eclipse Juno with Liberty 8.5.5.2

I have console DBCS issue in eclipse Juno with Liberty 8.5.5.2 like below(DBCS broken issue)
IBM J9 VM���� server01(WebSphere Application Server 8.5.5.2/wlp-1.0.5.cl50220140403-1858) ����, ���� pwa6470sr6ifx-20131031_01 (SR6+IX90131 SR6+IX90131) (ko_KR)
[AUDIT ] CWWKE0001I: server01 ������ ����Ǿ����ϴ�.
However, I could open it without any issue when I checked it with texteditor like below
[14. 4. 29 1:24:11:440 KST] 00000001 com.ibm.ws.logging.internal.TraceSpecification I TRAS0018I: 추적 상태가 변경되었습니다. 새 추적 상태는 *=info입니다.
Even I added below options, it's same...
-Dfile.encoding=utf-8
-Dclient.encoding.override=utf-8
Please give me expert advice how to resolve this issue.
When you first start the server, a launch configuration is created. You can see the launch configuration by clicking on the Run menu and selecting Run Configurations. Look under Liberty Profile Server for your launch configuration. Open it and check the encoding in the Common tab. Try setting it to UTF-8 and restart the server.
If you want launch configurations to be created with UTF-8 encoding by default go to the Window menu and select Preferences. Expand General and click on Workspace. Change the encoding to UTF-8 by clicking Other and selecting UTF-8 from the dropdown.

Resources