Could not determine java version from '10.0.1'

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '10.0.1'.

Fix #1

Fix #2

  • Make sure you have also upgraded your build.gradle configuration
buildscript {
    repositories {
    dependencies {
        classpath ''

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files

Fix #3

Add the following under your build.gradle file

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 25
                buildToolsVersion '25.0.0'


 Gem::Ext::BuildError: ERROR: Failed to build gem native extension for the JSON gem

The dreaded Gem::Ext::BuildError: ERROR: Failed to build gem native extension has been in existence since I started dabbling with higher versions of rails.

Fetching gem metadata from
Fetching rake 11.2.2
Installing rake 11.2.2
Using i18n 0.7.0
Fetching json 1.8.3
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
/Users/user/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20170619-29262-1b1jy13.rb extconf.rb
creating Makefile

Remove the Gemfile.lock file

Removing the Gemfile.lock file lets your bundler do its work and find the compatible versions for your gems. Run bundler and you’ll have a nice install and have a new Gemfile.lock file.

Bundle complete! 51 Gemfile dependencies, 177 gems now installed.


 Google Accounts: Sign out of all devices

Privacy and Security are a big issue these past few years. Numerous laws have been passed to secure our private life and lifestyle. Facebook makes it easy for you to logout out of all your devices and make sure you’re not logged into another’s device.

Google, however, doesn’t have this at the time of writing. A quick search will give you an answer to delete active sessions from the browser.

Delete Active Gmail active sessions:

  • Open Gmail on a computer and scroll to the very bottom of the page below all of your messages.
  • Click or tap the Details link on the bottom right. It’s right next to a sentence that reads “Last account activity:
  • Choose the Sign out all other web sessions button.

Although, there is one way but it will require you to compromise.

Logout of all devices logged in to Google Accounts

  • Change your password
  • This will prompt all other devices to ask you to login again


 Git: Could not read from remote repository error

ERROR: Permission to user-coder/repo-name.git denied to your_username.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


Ask the repo owner if he has added you as a collaborator. If not, this is most likely your problem.


A common error when collaborating with other users on Github. The most common way to fix this is to check for any invitations from the said repository. Accepting this invitation would ultimately fix your problem.