AndroidLibrary icon indicating copy to clipboard operation
AndroidLibrary copied to clipboard

Can't open the sample

Open AndroidDeveloperLB opened this issue 2 years ago • 2 comments

When I clone the project and try to open it, I get this issue that has no error information, after I've tried to upgrade its gradle plugin (because it failed to build):

image

Android Studio Flamingo | 2022.2.1 Canary 10 Build #AI-222.4459.24.2221.9409768, built on December 15, 2022 Runtime version: 17.0.4.1+0-b2043.56-9127311 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 9048M Cores: 12 Registry: external.system.auto.import.disabled=true debugger.watches.in.variables=false ide.text.editor.with.preview.show.floating.toolbar=false gradle.version.catalogs.dynamic.support=true ide.images.show.chessboard=true

Non-Bundled Plugins: idea.plugin.protoeditor (222.4459.16) com.intellij.marketplace (222.4459.28) com.dubreuia (2.3.0) com.dethlex.numberconverter (1.5.0) String Manipulation (9.6.1) Show As ... (1.0.3) GenerateSerializationHelpers (1.0.6) GenerateSerialVersionUID (3.0.3) com.google.mad-scorecard (1.2) com.developerphil.adbidea (1.6.8) net.aquadc.mike.plugin (0.27) izhangzhihao.rainbow.brackets (2022.3.5-ij) com.ppismerov.ksvu (0.0.1)

AndroidDeveloperLB avatar Dec 25 '22 09:12 AndroidDeveloperLB

I think it's an issue on the IDE. Seems it has the same issue with other old projects... I will try on stable version instead...

AndroidDeveloperLB avatar Dec 25 '22 11:12 AndroidDeveloperLB

I now tried on stable version of the IDE, and got this instead:

C:\Users\User\Desktop\AndroidLibrary\library\CMakeLists.txt : C/C++ debug|armeabi-v7a : CMake Error at C:\Users\User\Desktop\AndroidLibrary\library\CMakeLists.txt:13 (add_library):
  Cannot find source file:

    ../../stringcare-jni-android-library/lib/sc-native-lib.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

image

Android Studio Dolphin | 2021.3.1 Patch 1 Build #AI-213.7172.25.2113.9123335, built on September 30, 2022 Runtime version: 11.0.13+0-b1751.21-8125866 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 8048M Cores: 12 Registry: external.system.auto.import.disabled=true debugger.watches.in.variables=false ide.text.editor.with.preview.show.floating.toolbar=false

Non-Bundled Plugins: com.intellij.marketplace (213.7172.48) org.intellij.plugins.markdown (213.6777.22) com.github.beansoft.jadx.gui.idea (2022.1.0) com.dubreuia (2.3.0) String Manipulation (9.5.0) Show As ... (1.0.3) GenerateSerializationHelpers (1.0.6) GenerateSerialVersionUID (3.0.3) com.google.mad-scorecard (1.2) net.aquadc.mike.plugin (0.27) izhangzhihao.rainbow.brackets (2022.3.5-ij) com.ppismerov.ksvu (0.0.1)

AndroidDeveloperLB avatar Dec 25 '22 12:12 AndroidDeveloperLB