AndroidIDE icon indicating copy to clipboard operation
AndroidIDE copied to clipboard

java.lang.NoSuchMethodError: No virtual method readNBytes(I) while cloning git repository

Open kisonix opened this issue 2 years ago • 0 comments

Issue Checklist

  • [X] I confirm that this issue is not a duplicate and hasn't been reported before.
  • [X] I agree to follow the project's code of conduct.
  • [X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • [X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • [X] I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

I believed it's cause by jgit dependency version. Downgrading it should be worked. readNBytes() was only available in API 33 =< Ref Same issues on eclipse's bug report form and Android 13 New APIs

Screenshot

Expected behavior

To not be crashed

Version name

v2.7.1-beta-armeabi-v7a

Download source

GitHub

Relevant log output

`java.lang.NoSuchMethodError: No virtual method readNBytes(I)[B in class Lorg/eclipse/jgit/util/io/SilentFileInputStream; or its super classes (declaration of 'org.eclipse.jgit.util.io.SilentFileInputStream`

kisonix avatar Feb 13 '24 14:02 kisonix