---
title: "Android第三方jar包无法打包到apk中，抛notfound的解决方法"
author: "wangpj"
date: "2012-09-07T10:28:23Z"
tags: []
categories: ["移动开发"]
slug: "android-jar-apk-notfound"
draft: false
lastmod: "2012-09-07T10:28:23Z"
id: 1673298
url: "https://wangpj.iteye.com/blog/1673298"
---

第三方的jar不能被打包到apk中，下面是解决方法：

 

第三方jar包不能直接通过Add External JARs加入到build path中，而是要通过Add Library--&gt;User Libray自己新建一个Library把你需要的第三方jar包放到这个Library中，接着在工程目录下新建一个lib文件夹，将你的第三方jar放到这个文件夹里，最后右键lib文件夹，Bulid Path--&gt;Use as source folder。这样第三方jar包就会被打包到apk中了。