cloudchou / nativebindertest Goto Github PK
View Code? Open in Web Editor NEW用C++写的本地服务,使用service manager注册本地服务,可生成三个程序,一个是动态链接库,一个是服务端,一个是客户端
用C++写的本地服务,使用service manager注册本地服务,可生成三个程序,一个是动态链接库,一个是服务端,一个是客户端
D:\workspace\NativeBinderTest-master\jni>ndk-build
[armeabi] Compile++ thumb: TestClient <= ITestService.cpp
In file included from D:/workspace/NativeBinderTest-master/jni/ITestService.cpp:1:0:
D:/workspace/NativeBinderTest-master/jni/Test.h:4:31: fatal error: binder/IInterface.h: No such file or directory
#include <binder/IInterface.h>
^
compilation terminated.
make.exe: *** [D:/workspace/NativeBinderTest-master/obj/local/armeabi/objs/TestC
lient/ITestService.o] Error 1
大神,问下如果想在windows下用NDK-10e编译,需要添加什么头文件呢?Android.mk文件应该怎么配置呢?谢谢
直接编译提示找不到binder/IInterface.h,然后我把源代码的里面的src/frameworks/base/include,/src/system/core/include加进去,还是编译不过。。。
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.