solve build_static_library with nothing issue

使用 android-ndk-r10d

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_CFLAGS += -std=c99
LOCAL_EXPORT_LDLIBS += -llog

LOCAL_SRC_FILES += android/loghelp.c
LOCAL_SRC_FILES += android/jnihelp.c
LOCAL_MODULE := myutil
include $(BUILD_STATIC_LIBRARY)

以上没有任何东西生成。

在myutil前面加上lib即可:

LOCAL_MODULE := libmyutil
时间: 2024-08-05 06:38:45

solve build_static_library with nothing issue的相关文章

Overview and Evaluation of Bluetooth Low Energy: An Emerging Low-Power Wireless Technology

转自:http://www.mdpi.com/1424-8220/12/9/11734/htm Sensors 2012, 12(9), 11734-11753; doi:10.3390/s120911734 Article Carles Gomez 1,*, Joaquim Oller 2 and Josep Paradells 2 1 Universitat Politècnica de Catalunya/Fundació i2Cat, C/Esteve Terradas, 7, Cast

使用jQuery获取Dribbble的内容

Introduction As a web developer, third party API integration is something you will have to face. Especially with the current trend, we have facebook, twitter, flickr etc. Today, we are going to look at dribbble’s API. Dribbble is a place to show off

oracle dblink造成远程数据库session过多

现场报网公司数据库连不上,先检查了下数据库processes=1500,session=2200.我认为非常大啊.这个数据库没有几个人用. 查看v$session中的session最多是哪个machine发起的.发现是省公司的数据库发起的session,找开发梳理了下业务,省公司同步dblink操作网公司表,且是通过weblogic的连接池. 哦,有点明确了,是dblink引起的.weblogic连接池是一直存在的,所以在网公司端session是不释放的.假设省公司把应用都停掉,那在网公司端的s

Dropbox Interview – Design Hit Counter

Dropbox Interview – Design Hit Counter It starts with a simple question – if you are building a website, how do you count the number of visitors for the past 1 minute? "Design hit counter" problem has recently been asked by many companies includ

Java 8 – Convert List to Map

package com.mkyong.java8 public class Hosting { private int Id; private String name; private long websites; public Hosting(int id, String name, long websites) { Id = id; this.name = name; this.websites = websites; } //getters, setters and toString()}

Solve workmate's issue

Today,my workmate hava a problem ask me,it is about of the EXTJS's Itemselector,just  two years ago, I writed an article concerning  Itemselector,so i send the article to workmate.  But the code is not running complete,some problems in the code,i che

Solve Hibernate Lazy-Init issue with hibernate.enable_lazy_load_no_trans

I have been suffering from infamous hibernate exception org.hibernate.LazyInitializationException: could not initialize proxy - no Session Now the community is cheering over <property name="hibernate.enable_lazy_load_no_trans" value="tru

How to solve &quot;/bin/sh^M:bad interpreter: No such file or directory&quot;

1. The issue is because windows and linux has different file system.2. Use vim to open the file3. Type :set ff?, you will see the text "fileformat=dos" or "fileformat=unix"4. if you find the fileformat is dos, then you got the reason o

Fix the iOS code signing issue when using Jenkins

This week I setup the Jenkins on my Mac and try to build iOS applications. unfortunately I got the code signing issues, either I use xcode plugin or xcode command line tool. Through a couple days of googling and I could not find any solution that wor