我之前使用的是Eclipse,因为我之前使用的是Eclipse。由于我的笔记本电脑有AMD处理器,我正在尝试使用Bluestacks模拟 - 就像我在Eclipse中所做的那样。我可以运行该项目,但是当我尝试调试时,我在Bluestacks上收到以下消息:
'应用程序blah(进程com.example.blah)正在等待调试器附加' - 以及强制关闭的选项。我尝试了一些事情,例如在清单中设置'debuggable:true'和'uses-permission'属性,重启Android studio / Bluestacks,但无济于事。我似乎无法找到适用于这种特殊情况的任何其他信息。
提前感谢您的帮助!
答案 0 :(得分:-1)
转到import requests
from bs4 import BeautifulSoup
import re
def scrape_ticker(url):
response = requests.get(url)
Soup = BeautifulSoup(response.content, 'html.parser')
for i in Soup.find_all('p'):
print(i.get_text())
if __name__ == '__main__' :
urls = ['http://www.investopedia.com/investing/biotech-stocks/',
'https://www.fool.com/investing/2017/06/25/5-best-biotech-stocks-of-2017-so-far.aspx',
'http://www.marketwatch.com/story/five-reasons-you-have-to-buy-biotech-stocks-now-2017-06-20',
'http://www.kiplinger.com/slideshow/investing/T052-S003-7-battered-biotech-stocks-to-buy/index.html',
'http://www.investors.com/research/ibd-stock-analysis/exelexis-biotech-stock-with-497-growth-positive-trial-results-nears-buy-zone-celgene-climbs/']
pool = Pool(processes=2)
print(pool.map(scrape_ticker, urls))
运行SDK
下的platfrom-tools
文件夹,然后返回Android工作室并运行项目