avsystem / anjay-java Goto Github PK
View Code? Open in Web Editor NEWAnjay LwM2M client library port for Java applications
License: Apache License 2.0
Anjay LwM2M client library port for Java applications
License: Apache License 2.0
I have an issue while running command: ./gradlew :library:build
on Mac M1 (Monterey 12.4).
Stack trace attached
anjay-java.txt
I performed git submodule update --init --recursive
before running ./gradlew :library:build as stated in README file.
I am using the below command to build, as specified in the Readme.
"./gradlew :library:build"
But I am facing the below error. Attached are the logs.
CMakePlugin.cmakeConfigure - ERRORS:
CMake Error in CMakeLists.txt:
Target "anjay" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
Please let me know how to resolve this error and successfully build the jar file and the native shared library.
Log.txt
Hello,
I have referred the demo code "DemoObject.java" and I am trying to understand how instanceCreate and instanceRemove callbacks work. I am currently not getting a callback to either of these functions when I am trying to create or delete an object on the server.
The demo code only says:
@OverRide
public void instanceCreate(int iid) {
throw new UnsupportedOperationException();
}
Can you please help me understand why this is happening? And in case we want to debug what is the function in Anjay C that calls instanceCreate(int iid)/instanceRemove(int iid) in Java, can you please point out that?
Hi,
I am following the below steps in order to compile Anjay java in my Windows system.
git clone https://github.com/AVSystem/Anjay-java.git
Open Android Studio and import the project.
Open the terminal and run this command "./gradlew -Pandroid :library:build", I see the below errors.
Anjay_java1.txt
Followed the below steps on Linux:
git clone https://github.com/AVSystem/Anjay-java.git
git submodule update --init --recursive
Set the SDK and NDK path and run "./gradlew :library:build".
I am seeing the below error:
Anjay_java2.txt
Anjay_java3.txt
I have followed the below steps too:
cd native-library/deps/anjay
git checkout 2.15.0
cd ../../..
git add -u
git submodule update --init --recursive
Can you please help me with this issue? Also, can I get more steps so I can compile the code?
Is there a specific Java version that is needed for Anjay java to compile?
Can I compile Anjay java in Windows and Linux?
Hello,
From Anjay Java to Anjay C++ there is a JNI Iayer and I was working on writing a callback from native back to java. For this, I will need both "JNIEnv *" and "jobject" in arguments but I only see JNIEnv.
Can you please let me know how I can go ahead with writing this JNI callback? And is there a callback in the existing code for reference?
Hi,
I referred to the below code and I want to implement the same using Anjay-java.
https://avsystem.github.io/Anjay-doc/AdvancedTopics/AT-CustomEventLoop.html?highlight=avs_net_socket_get_system
Can I please get some help with this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.