usb_modeswitch_android's People
usb_modeswitch_android's Issues
error at compile
even if I'm not a bit android dev guy I've well compile libusb and I well get the .so file
but when I try to do it on usb_modswitch jni folder
I got a strange error on LOCAL_SRC_FILES missing but they are present
I tryied to mod .mk file adding the LOCAL_PATH var to the LOCAL_SRC_FILES
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libUsb
#LOCAL_SRC_FILES := $(LOCAL_PATH)/../../libusb/android/libs/$(TARGET_ARCH_ABI)/libusb-1.0.so
LOCAL_SRC_FILES := $(LOCAL_PATH)/../../libusb-1.0.24/android/libs/$(TARGET_ARCH_ABI)/libusb-1.0.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_CFLAGS += -pie -fPIE
LOCAL_LDFLAGS += -pie -fPIE
LOCAL_LDLIBS := -llog
LOCAL_MODULE := usb_modeswitch
#LOCAL_SRC_FILES := usb_modeswitch.c
LOCAL_SRC_FILES := $(LOCAL_PATH)/usb_modeswitch.c
#LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../libusb/libusb
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../libusb-1.0.24/libusb
LOCAL_SHARED_LIBRARIES := libUsb
include $(BUILD_EXECUTABLE)
but I always get the same error
oga@oga-UX550VD:~/devel/usbmodsw/jni$ ~/bin/ndk/ndk-build -B
Android NDK: ERROR:/home/oga/devel/usbmodsw/jni/Android.mk:Usb: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that /home/oga/devel/usbmodsw/jni/../../libusb-1.0.24/android/libs/armeabi-v7a/libusb-1.0.so exists or that its path is correct
/home/oga/bin/ndk/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
but local sources looks ok
oga@oga-UX550VD:~/devel/usbmodsw/jni$ ls
Android.mk Application.mk usb_modeswitch.c usb_modeswitch.h
it would be so great to be able to do as you switching to hilink my modem
thank's a lot for any idea
and sory for disturbing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.